ADC initialization structure, common for single conversion and scan sequence.
Public Attributes#
Oversampling rate select.
Lowpass or decoupling capacitor filter.
ADC Warm-up mode.
Timebase for ADC warm up.
Clock division factor N, ADC clock = (HFPERCLK or HFPERCCLK) / (N + 1).
Enable/disable conversion tailgating.
Public Attribute Documentation#
ovsRateSel#
ADC_OvsRateSel_TypeDef ADC_Init_TypeDef::ovsRateSel
Oversampling rate select.
To have any effect, oversampling must be enabled for single/scan mode.
786
of file platform/emlib/inc/em_adc.h
lpfMode#
ADC_LPFilter_TypeDef ADC_Init_TypeDef::lpfMode
Lowpass or decoupling capacitor filter.
790
of file platform/emlib/inc/em_adc.h
warmUpMode#
ADC_Warmup_TypeDef ADC_Init_TypeDef::warmUpMode
ADC Warm-up mode.
794
of file platform/emlib/inc/em_adc.h
timebase#
uint8_t ADC_Init_TypeDef::timebase
Timebase for ADC warm up.
Select N to give (N+1) HFPERCLK / HFPERCCLK cycles. (Additional delay is added for bandgap references. See the reference manual for more information.) Normally, N should be selected so that the timebase is at least 1 us. See ADC_TimebaseCalc() to obtain a suggested timebase of, at least, 1 us.
803
of file platform/emlib/inc/em_adc.h
prescale#
uint8_t ADC_Init_TypeDef::prescale
Clock division factor N, ADC clock = (HFPERCLK or HFPERCCLK) / (N + 1).
806
of file platform/emlib/inc/em_adc.h
tailgate#
bool ADC_Init_TypeDef::tailgate
Enable/disable conversion tailgating.
809
of file platform/emlib/inc/em_adc.h