weak current limit on spickles
[aversive.git] / projects / microb2009 / tests / arm_test / adc_config.h
1 #ifndef _ADC_CONFIG_H_
2 #define _ADC_CONFIG_H_
3
4 /* Uncomment the ADC inputs you want to use */
5 /* #define ADC0_USE */
6 /* #define ADC1_USE */
7 /* #define ADC2_USE */
8 /* #define ADC3_USE */
9 /* #define ADC4_USE */
10 /* #define ADC5_USE */
11 /* #define ADC6_USE */
12 /* #define ADC7_USE */
13
14 /* Uncomment the ADC reference you want to use */
15 #define ADC_REF_EXT
16 /* #define ADC_REF_AVCC */
17 /* #define ADC_REF_INTERNAL */
18
19 /* This feature is only available for ATmega48/88/168 */
20 #define ADC_POWER_REDUCTION
21
22 /* Frequency (kHz) of the converter - Has to be between 50 and 200 */
23 /* -- Not used for now -- */
24 #define ADC_FREQUENCY 50
25
26 /* Filter coefficient: number of loops before a constant converted value */
27 /* is almost equal to the result given by adc_get_result(). */
28 /* -- Not used for now -- */
29 #define ADC_FILTER_COEFF 10
30
31 /* Enable power consumption reduction */
32 #define USE_ADC_SHUTDOWN
33
34 #endif // _ADC_CONFIG_H_