IADC_Config_t Struct Reference

IADC config structure.

#include <em_iadc.h>

Data Fields

IADC_CfgAdcMode_t adcMode
IADC mode; Normal, High speed or High Accuracy.
IADC_CfgOsrHighSpeed_t osrHighSpeed
Over sampling ratio for High Speed and Normal modes.
IADC_CfgOsrHighAccuracy_t osrHighAccuracy
Over sampling ratio for High Accuracy mode.
IADC_CfgAnalogGain_t analogGain
Analog gain.
IADC_CfgReference_t reference
Reference selection.
IADC_CfgTwosComp_t twosComplement
Two's complement reporting.
uint32_t adcClkPrescale
ADC_CLK divider (prescale+1).
uint32_t vRef
Vref magnitude expressed in millivolts.
IADC_DigitalAveraging_t digAvg
Digital average mode.

IADC config structure.

Field Documentation

adcMode

IADC_CfgAdcMode_t IADC_Config_t::adcMode

IADC mode; Normal, High speed or High Accuracy.

osrHighSpeed

IADC_CfgOsrHighSpeed_t IADC_Config_t::osrHighSpeed

Over sampling ratio for High Speed and Normal modes.

osrHighAccuracy

IADC_CfgOsrHighAccuracy_t IADC_Config_t::osrHighAccuracy

Over sampling ratio for High Accuracy mode.

analogGain

IADC_CfgAnalogGain_t IADC_Config_t::analogGain

Analog gain.

reference

IADC_CfgReference_t IADC_Config_t::reference

Reference selection.

twosComplement

IADC_CfgTwosComp_t IADC_Config_t::twosComplement

Two's complement reporting.

adcClkPrescale

uint32_t IADC_Config_t::adcClkPrescale

ADC_CLK divider (prescale+1).

vRef

uint32_t IADC_Config_t::vRef

Vref magnitude expressed in millivolts.

digAvg

IADC_DigitalAveraging_t IADC_Config_t::digAvg

Digital average mode.