| 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 Output Host | Audio Output Host

## Detailed Description

## Macros
#define | MIC_IN_ADC_CHANNEL 2
#define | MIC_IN_ADC_MUX_MASK ADC_CHANNEL2
#define | SAMPLE_MAX_RANGE 0xFFFF
#define | ADC_MAX_RANGE 0x3FF
#define | LEDMASK_USB_NOTREADY LEDS_LED1
#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 146 of file AudioOutputHost.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 152 of file AudioOutputHost.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 158 of file AudioOutputHost.h.

#define LEDMASK_USB_NOTREADY LEDS_LED1

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

Definition at line 149 of file AudioOutputHost.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 155 of file AudioOutputHost.h.

#define MIC_IN_ADC_CHANNEL 2

ADC channel number for the microphone input.

Definition at line 137 of file AudioOutputHost.h.

#define MIC_IN_ADC_MUX_MASK ADC_CHANNEL2

ADC channel MUX mask for the microphone input.

Definition at line 140 of file AudioOutputHost.h.

#define SAMPLE_MAX_RANGE 0xFFFF

Maximum audio sample value for the microphone input.

Definition at line 143 of file AudioOutputHost.h.