BeRTOS
cfg_adc.h
Go to the documentation of this file.
00001 
00038 #ifndef CFG_ADC_H
00039 #define CFG_ADC_H
00040 
00047 #define ADC_LOG_LEVEL      LOG_LVL_INFO
00048 
00055 #define ADC_LOG_FORMAT     LOG_FMT_VERBOSE
00056 
00066 #define CONFIG_ADC_CLOCK        4800000UL
00067 
00075 #define CONFIG_ADC_STARTUP_TIME 20
00076 
00084 #define CONFIG_ADC_SHTIME       834
00085 
00093 #define CONFIG_ADC_AVR_REF      ADC_AVR_AVCC
00094 
00103 #define CONFIG_ADC_AVR_DIVISOR  2
00104 
00110 #define CONFIG_ADC_STROBE  0
00111 
00112 
00120 #define CONFIG_ADC_SUT         ADC_SUT512
00121 
00129 #define CONFIG_ADC_STTLING     ADC_AST17
00130 
00138 #define CONFIG_ADC_TRACKTIM    0
00139 
00147 #define CONFIG_ADC_TRANSFER    1
00148 
00149 #endif /* CFG_ADC_H */