IADC init structure, common for single conversion and scan sequence.
Public Attributes#
Suspend IADC_CLK when in scan mode until PRS trigger.
Suspend IADC_CLK when in single mode until PRS trigger.
Halt IADC during debug mode.
IADC warmup mode.
IADC clock cycles (timebase+1) corresponding to 1us.
User requested source clock divider (prescale+1) which will be used if the calculated prescaler value is less.
Number of ADC_CLK cycles per TIMER event.
Digital window comparator greater-than or equal threshold.
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.
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.
799
of file platform/emlib/inc/em_iadc.h
debugHalt#
bool IADC_Init_t::debugHalt
Halt IADC during debug mode.
800
of file platform/emlib/inc/em_iadc.h
warmup#
IADC_Warmup_t IADC_Init_t::warmup
IADC warmup mode.
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.
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.
807
of file platform/emlib/inc/em_iadc.h
timerCycles#
uint16_t IADC_Init_t::timerCycles
Number of ADC_CLK cycles per TIMER event.
809
of file platform/emlib/inc/em_iadc.h
greaterThanEqualThres#
uint16_t IADC_Init_t::greaterThanEqualThres
Digital window comparator greater-than or equal threshold.
810
of file platform/emlib/inc/em_iadc.h
lessThanEqualThres#
uint16_t IADC_Init_t::lessThanEqualThres
Digital window comparator less-than or equal threshold.
811
of file platform/emlib/inc/em_iadc.h