Single conversion initialization structure.
Public Attributes#
Peripheral reflex system trigger selection.
Acquisition time (in ADC clock cycles).
Sample reference selection.
Sample resolution.
Select positive input for single channel conversion mode.
Select negative input for single channel conversion mode.
Select if single-ended or differential input.
Peripheral reflex system trigger enable.
Select if left adjustment should be done.
Select if continuous conversion until explicit stop.
When true, DMA is available in EM2 for single conversion.
When true, FIFO overwrites old data when full.
Public Attribute Documentation#
prsSel#
ADC_PRSSEL_TypeDef ADC_InitSingle_TypeDef::prsSel
Peripheral reflex system trigger selection.
Only applicable if prsEnable
is enabled.
967
of file platform/emlib/inc/em_adc.h
acqTime#
ADC_AcqTime_TypeDef ADC_InitSingle_TypeDef::acqTime
Acquisition time (in ADC clock cycles).
970
of file platform/emlib/inc/em_adc.h
reference#
ADC_Ref_TypeDef ADC_InitSingle_TypeDef::reference
Sample reference selection.
Note that, for external references, the ADC calibration register must be set explicitly.
976
of file platform/emlib/inc/em_adc.h
resolution#
ADC_Res_TypeDef ADC_InitSingle_TypeDef::resolution
Sample resolution.
979
of file platform/emlib/inc/em_adc.h
posSel#
ADC_PosSel_TypeDef ADC_InitSingle_TypeDef::posSel
Select positive input for single channel conversion mode.
991
of file platform/emlib/inc/em_adc.h
negSel#
ADC_NegSel_TypeDef ADC_InitSingle_TypeDef::negSel
Select negative input for single channel conversion mode.
Negative input is grounded for single-ended (non-differential) conversion.
997
of file platform/emlib/inc/em_adc.h
diff#
bool ADC_InitSingle_TypeDef::diff
Select if single-ended or differential input.
1001
of file platform/emlib/inc/em_adc.h
prsEnable#
bool ADC_InitSingle_TypeDef::prsEnable
Peripheral reflex system trigger enable.
1004
of file platform/emlib/inc/em_adc.h
leftAdjust#
bool ADC_InitSingle_TypeDef::leftAdjust
Select if left adjustment should be done.
1007
of file platform/emlib/inc/em_adc.h
rep#
bool ADC_InitSingle_TypeDef::rep
Select if continuous conversion until explicit stop.
1010
of file platform/emlib/inc/em_adc.h
singleDmaEm2Wu#
bool ADC_InitSingle_TypeDef::singleDmaEm2Wu
When true, DMA is available in EM2 for single conversion.
1014
of file platform/emlib/inc/em_adc.h
fifoOverwrite#
bool ADC_InitSingle_TypeDef::fifoOverwrite
When true, FIFO overwrites old data when full.
If false, FIFO discards new data. The SCANOF IRQ is triggered in both cases.
1020
of file platform/emlib/inc/em_adc.h