Scan sequence initialization structure.

Public Attributes#

Peripheral reflex system trigger selection.

Acquisition time (in ADC clock cycles).

Sample reference selection.

Sample resolution.

uint32_t

Scan input selection.

bool

Select if single-ended or differential input.

bool

Peripheral reflex system trigger enable.

bool

Select if left adjustment should be done.

bool

Select if continuous conversion until explicit stop.

Public Attribute Documentation#

prsSel#

ADC_PRSSEL_TypeDef ADC_InitScan_TypeDef::prsSel

Peripheral reflex system trigger selection.

Only applicable if prsEnable is enabled.


Definition at line 867 of file platform/emlib/inc/em_adc.h

acqTime#

ADC_AcqTime_TypeDef ADC_InitScan_TypeDef::acqTime

Acquisition time (in ADC clock cycles).


Definition at line 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.


Definition at line 876 of file platform/emlib/inc/em_adc.h

resolution#

ADC_Res_TypeDef ADC_InitScan_TypeDef::resolution

Sample resolution.


Definition at line 879 of file platform/emlib/inc/em_adc.h

input#

uint32_t ADC_InitScan_TypeDef::input

Scan input selection.

If single ended (diff is false), use logical combination of ADC_SCANCTRL_INPUTMASK_CHx defines. If differential input (diff is true), use logical combination of ADC_SCANCTRL_INPUTMASK_CHxCHy defines. (Notice underscore prefix for defines used.)


Definition at line 888 of file platform/emlib/inc/em_adc.h

diff#

bool ADC_InitScan_TypeDef::diff

Select if single-ended or differential input.


Definition at line 900 of file platform/emlib/inc/em_adc.h

prsEnable#

bool ADC_InitScan_TypeDef::prsEnable

Peripheral reflex system trigger enable.


Definition at line 903 of file platform/emlib/inc/em_adc.h

leftAdjust#

bool ADC_InitScan_TypeDef::leftAdjust

Select if left adjustment should be done.


Definition at line 906 of file platform/emlib/inc/em_adc.h

rep#

bool ADC_InitScan_TypeDef::rep

Select if continuous conversion until explicit stop.


Definition at line 909 of file platform/emlib/inc/em_adc.h