#include <em_adc.h>
Data Fields | |
ADC_PRSSEL_TypeDef | prsSel |
ADC_AcqTime_TypeDef | acqTime |
ADC_Ref_TypeDef | reference |
ADC_Res_TypeDef | resolution |
uint32_t | input |
bool | diff |
bool | prsEnable |
bool | leftAdjust |
bool | rep |
Scan sequence init structure.
Definition at line 296 of file em_adc.h.
Acquisition time (in ADC clock cycles).
Definition at line 305 of file em_adc.h.
Referenced by ADC_InitScan().
Select if single ended or differential input.
Definition at line 325 of file em_adc.h.
Referenced by ADC_InitScan().
uint32_t ADC_InitScan_TypeDef::input |
Input scan selection. If single ended (diff
is false), use logical combination of ADC_SCANCTRL_INPUTMASK_CHx defines. If differential input (diff
is true), use logical combination of ADC_SCANCTRL_INPUTMASK_CHxCHy defines. (Notice underscore prefix for defines used.)
Definition at line 322 of file em_adc.h.
Referenced by ADC_InitScan().
Select if left adjustment should be done.
Definition at line 331 of file em_adc.h.
Referenced by ADC_InitScan().
Peripheral reflex system trigger enable.
Definition at line 328 of file em_adc.h.
Referenced by ADC_InitScan().
Peripheral reflex system trigger selection. Only applicable if prsEnable
is enabled.
Definition at line 302 of file em_adc.h.
Referenced by ADC_InitScan().
Sample reference selection. Notice that for external references, the ADC calibration register must be set explicitly.
Definition at line 311 of file em_adc.h.
Referenced by ADC_InitScan().
Select if continuous conversion until explicit stop.
Definition at line 334 of file em_adc.h.
Referenced by ADC_InitScan().