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_CfgAnalogGain_t analogGain
Analog gain.
IADC_CfgReference_t reference
Reference selection.
IADC_CfgTwosComp_t twosComplement
Two's complement reporting.
uint8_t adcClkPrescale
ADC_CLK divider (prescale+1).
uint32_t vRef
Vref magnitude expressed in millivolts.

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.

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

uint8_t IADC_Config_t::adcClkPrescale

ADC_CLK divider (prescale+1).

vRef

uint32_t IADC_Config_t::vRef

Vref magnitude expressed in millivolts.