Scan sequence initialization structure.
Public Attributes#
Peripheral reflex system trigger selection.
Acquisition time (in ADC clock cycles).
Sample reference selection.
Sample resolution.
Scan input configuration.
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 scan conversion.
When true, FIFO overwrites old data when full.
Public Attribute Documentation#
prsSel#
ADC_PRSSEL_TypeDef ADC_InitScan_TypeDef::prsSel
Peripheral reflex system trigger selection.
Only applicable if prsEnable
is enabled.
867
of file platform/emlib/inc/em_adc.h
acqTime#
ADC_AcqTime_TypeDef ADC_InitScan_TypeDef::acqTime
Acquisition time (in ADC clock cycles).
870
of file platform/emlib/inc/em_adc.h
reference#
ADC_Ref_TypeDef ADC_InitScan_TypeDef::reference
Sample reference selection.
Note that, for external references, the ADC calibration register must be set explicitly.
876
of file platform/emlib/inc/em_adc.h
resolution#
ADC_Res_TypeDef ADC_InitScan_TypeDef::resolution
Sample resolution.
879
of file platform/emlib/inc/em_adc.h
scanInputConfig#
ADC_InitScanInput_TypeDef ADC_InitScan_TypeDef::scanInputConfig
Scan input configuration.
Use ADC_ScanInputClear(), ADC_ScanSingleEndedInputAdd() or ADC_ScanDifferentialInputAdd() to update this structure.
896
of file platform/emlib/inc/em_adc.h
diff#
bool ADC_InitScan_TypeDef::diff
Select if single-ended or differential input.
900
of file platform/emlib/inc/em_adc.h
prsEnable#
bool ADC_InitScan_TypeDef::prsEnable
Peripheral reflex system trigger enable.
903
of file platform/emlib/inc/em_adc.h
leftAdjust#
bool ADC_InitScan_TypeDef::leftAdjust
Select if left adjustment should be done.
906
of file platform/emlib/inc/em_adc.h
rep#
bool ADC_InitScan_TypeDef::rep
Select if continuous conversion until explicit stop.
909
of file platform/emlib/inc/em_adc.h
scanDmaEm2Wu#
bool ADC_InitScan_TypeDef::scanDmaEm2Wu
When true, DMA is available in EM2 for scan conversion.
913
of file platform/emlib/inc/em_adc.h
fifoOverwrite#
bool ADC_InitScan_TypeDef::fifoOverwrite
When true, FIFO overwrites old data when full.
If false, FIFO discards new data. The SINGLEOF IRQ is triggered in both cases.
919
of file platform/emlib/inc/em_adc.h