IADC config structure.

Public Attributes#

IADC mode; Normal, High speed or High Accuracy.

Over sampling ratio for High Speed and Normal modes.

Reference selection.

Two's complement reporting.

uint32_t

ADC_CLK divider (prescale+1).

uint32_t

Vref magnitude expressed in millivolts.

Digital average mode.

Public Attribute Documentation#

adcMode#

IADC_CfgAdcMode_t IADC_Config_t::adcMode

IADC mode; Normal, High speed or High Accuracy.


Definition at line 830 of file platform/emlib/inc/em_iadc.h

osrHighSpeed#

IADC_CfgOsrHighSpeed_t IADC_Config_t::osrHighSpeed

Over sampling ratio for High Speed and Normal modes.


Definition at line 831 of file platform/emlib/inc/em_iadc.h

analogGain#

IADC_CfgAnalogGain_t IADC_Config_t::analogGain

Analog gain.


Definition at line 835 of file platform/emlib/inc/em_iadc.h

reference#

IADC_CfgReference_t IADC_Config_t::reference

Reference selection.


Definition at line 836 of file platform/emlib/inc/em_iadc.h

twosComplement#

IADC_CfgTwosComp_t IADC_Config_t::twosComplement

Two's complement reporting.


Definition at line 837 of file platform/emlib/inc/em_iadc.h

adcClkPrescale#

uint32_t IADC_Config_t::adcClkPrescale

ADC_CLK divider (prescale+1).


Definition at line 838 of file platform/emlib/inc/em_iadc.h

vRef#

uint32_t IADC_Config_t::vRef

Vref magnitude expressed in millivolts.


Definition at line 839 of file platform/emlib/inc/em_iadc.h

digAvg#

IADC_DigitalAveraging_t IADC_Config_t::digAvg

Digital average mode.


Definition at line 841 of file platform/emlib/inc/em_iadc.h