| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Main definitions
Audio input device example | Audio input device example

## Detailed Description

## Macros
#define | MIC_IN_ADC_CHANNEL 2
| ADC definitions.
#define | MIC_IN_ADC_MUX_MASK ADC_CHANNEL2
#define | SAMPLE_MAX_RANGE 0xFFFF
#define | ADC_MAX_RANGE 0x3FF
#define | LEDMASK_USB_NOTREADY LEDS_LED1
| LED definitions.
#define | LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
#define | LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
#define | LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)

## Macro Definition Documentation

#define ADC_MAX_RANGE 0x3FF

Maximum ADC range for the microphone input

Definition at line 148 of file AudioInput.h.

#define LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)

LED mask for the library LED driver, to indicate that the USB interface is enumerating

Definition at line 155 of file AudioInput.h.

#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)

LED mask for the library LED driver, to indicate that an error has occurred in the USB interface

Definition at line 159 of file AudioInput.h.

#define LEDMASK_USB_NOTREADY LEDS_LED1

LED definitions.

LED mask for the library LED driver, to indicate that the USB interface is not ready

Definition at line 153 of file AudioInput.h.

#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)

LED mask for the library LED driver, to indicate that the USB interface is ready

Definition at line 157 of file AudioInput.h.

#define MIC_IN_ADC_CHANNEL 2

ADC definitions.

ADC channel number for the microphone input

Definition at line 145 of file AudioInput.h.

#define MIC_IN_ADC_MUX_MASK ADC_CHANNEL2

ADC channel MUX mask for the microphone input

Definition at line 146 of file AudioInput.h.

#define SAMPLE_MAX_RANGE 0xFFFF

Maximum audio sample value for the microphone input

Definition at line 147 of file AudioInput.h.