AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig.h header files.
This commit is contained in:
parent
ae6a514929
commit
e9e6730d49
57 changed files with 664 additions and 162 deletions
|
@ -51,26 +51,16 @@
|
|||
#include <LUFA/Drivers/Board/LEDs.h>
|
||||
#include <LUFA/Drivers/Board/Buttons.h>
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
/* Macros: */
|
||||
/** ADC channel number for the microphone input. */
|
||||
#define MIC_IN_ADC_CHANNEL 2
|
||||
|
||||
/** ADC channel MUX mask for the microphone input. */
|
||||
#define MIC_IN_ADC_MUX_MASK ADC_CHANNEL2
|
||||
|
||||
/** Maximum audio sample value for the microphone input. */
|
||||
#define SAMPLE_MAX_RANGE 0xFFFF
|
||||
|
||||
/** Maximum ADC range for the microphone input. */
|
||||
#define ADC_MAX_RANGE 0x3FF
|
||||
|
||||
/** Defined to indicate that the microphone input voltage is biased to half the ADC reference voltage. */
|
||||
#define MICROPHONE_BIASED_TO_HALF_RAIL
|
||||
|
||||
/** Defined to generate test tone when a button is pressed, rather than use a microphone for audio samples. */
|
||||
#define USE_TEST_TONE
|
||||
|
||||
/** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
|
||||
#define LEDMASK_USB_NOTREADY LEDS_LED1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue