Configuration file for the ADC module.
More...
Go to the source code of this file.
Detailed Description
Configuration file for the ADC module.
- Author:
- Daniele Basile <asterix@develer.com>
Definition in file cfg_adc.h.
Define Documentation
#define CONFIG_ADC_CLOCK 4800000UL |
Clock Frequency for ADC conversion.
This frequency will be rounded down to an integer submultiple of CPU_FREQ.
Definition at line 66 of file cfg_adc.h.
#define CONFIG_ADC_STTLING ADC_AST17 |
Analog Settling Time[s] = settling value / ADCClock[Hz].
Definition at line 129 of file cfg_adc.h.
#define CONFIG_ADC_SUT ADC_SUT512 |
Start up timer[s] = startup value / ADCClock [Hz].
Definition at line 120 of file cfg_adc.h.
#define CONFIG_ADC_TRACKTIM 0 |
Tracking Time[s] = (TRACKTIM + 1) / ADCClock[Hz].
Definition at line 138 of file cfg_adc.h.
#define CONFIG_ADC_TRANSFER 1 |
Transfer Period[s] = (TRANSFER * 2 + 3) ADCClock[Hz].
Definition at line 147 of file cfg_adc.h.