EFM32 Wonder Gecko Software Documentation
efm32wg-doc-4.2.1
|
#include <em_adc.h>
Data Fields | |
ADC_OvsRateSel_TypeDef | ovsRateSel |
ADC_LPFilter_TypeDef | lpfMode |
ADC_Warmup_TypeDef | warmUpMode |
uint8_t | timebase |
uint8_t | prescale |
bool | tailgate |
ADC init structure, common for single conversion and scan sequence.
ADC_OvsRateSel_TypeDef ADC_Init_TypeDef::ovsRateSel |
Oversampling rate select. In order to have any effect, oversampling must be enabled for single/scan mode.
Definition at line 777 of file em_adc.h.
Referenced by ADC_Init(), and TOUCH_Init().
ADC_LPFilter_TypeDef ADC_Init_TypeDef::lpfMode |
Lowpass or decoupling capacitor filter to use.
Definition at line 781 of file em_adc.h.
Referenced by ADC_Init().
ADC_Warmup_TypeDef ADC_Init_TypeDef::warmUpMode |
uint8_t ADC_Init_TypeDef::timebase |
Timebase used for ADC warm up. Select N to give (N+1)HFPERCLK cycles. (Additional delay is added for bandgap references, please refer to the reference manual.) Normally, N should be selected so that the timebase is at least 1 us. See ADC_TimebaseCalc() for a way to obtain a suggested timebase of at least 1 us.
Definition at line 794 of file em_adc.h.
Referenced by ADC_Init().
uint8_t ADC_Init_TypeDef::prescale |
Clock division factor N, ADC clock = HFPERCLK / (N + 1).
Definition at line 797 of file em_adc.h.
Referenced by ADC_Init(), and TOUCH_Init().
bool ADC_Init_TypeDef::tailgate |
Enable/disable conversion tailgating.
Definition at line 800 of file em_adc.h.
Referenced by ADC_Init().