IADC init structure, common for single conversion and scan sequence.

Public Attributes#

bool

Suspend IADC_CLK when in scan mode until PRS trigger.

bool

Suspend IADC_CLK when in single mode until PRS trigger.

bool

Halt IADC during debug mode.

IADC warmup mode.

uint8_t

IADC clock cycles (timebase+1) corresponding to 1us.

uint8_t

User requested source clock divider (prescale+1) which will be used if the calculated prescaler value is less.

uint16_t

Number of ADC_CLK cycles per TIMER event.

uint16_t

Digital window comparator greater-than or equal threshold.

uint16_t

Digital window comparator less-than or equal threshold.

Public Attribute Documentation#

iadcClkSuspend0#

bool IADC_Init_t::iadcClkSuspend0

Suspend IADC_CLK when in scan mode until PRS trigger.


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

iadcClkSuspend1#

bool IADC_Init_t::iadcClkSuspend1

Suspend IADC_CLK when in single mode until PRS trigger.


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

debugHalt#

bool IADC_Init_t::debugHalt

Halt IADC during debug mode.


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

warmup#

IADC_Warmup_t IADC_Init_t::warmup

IADC warmup mode.


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

timebase#

uint8_t IADC_Init_t::timebase

IADC clock cycles (timebase+1) corresponding to 1us.

Used as time reference for IADC delays, e.g. warmup. If the user sets timebase to 0, then IADC_Init() will calculate the timebase using the currently defined CMU clock setting for the IADC.


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

srcClkPrescale#

uint8_t IADC_Init_t::srcClkPrescale

User requested source clock divider (prescale+1) which will be used if the calculated prescaler value is less.


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

timerCycles#

uint16_t IADC_Init_t::timerCycles

Number of ADC_CLK cycles per TIMER event.


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

greaterThanEqualThres#

uint16_t IADC_Init_t::greaterThanEqualThres

Digital window comparator greater-than or equal threshold.


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

lessThanEqualThres#

uint16_t IADC_Init_t::lessThanEqualThres

Digital window comparator less-than or equal threshold.


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