EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-5.1.2
ADC_InitScan_TypeDef Struct Reference

Detailed Description

Scan sequence init structure.

Definition at line 882 of file em_adc.h.

#include <em_adc.h>

Data Fields

ADC_AcqTime_TypeDef acqTime
 
bool diff
 
uint32_t input
 
bool leftAdjust
 
bool prsEnable
 
ADC_PRSSEL_TypeDef prsSel
 
ADC_Ref_TypeDef reference
 
bool rep
 
ADC_Res_TypeDef resolution
 

Field Documentation

ADC_AcqTime_TypeDef ADC_InitScan_TypeDef::acqTime

Acquisition time (in ADC clock cycles).

Definition at line 891 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::diff

Select if single ended or differential input.

Definition at line 921 of file em_adc.h.

Referenced by ADC_InitScan().

uint32_t ADC_InitScan_TypeDef::input

Scan input 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 909 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::leftAdjust

Select if left adjustment should be done.

Definition at line 927 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::prsEnable

Peripheral reflex system trigger enable.

Definition at line 924 of file em_adc.h.

Referenced by ADC_InitScan(), and MIC_init().

ADC_PRSSEL_TypeDef ADC_InitScan_TypeDef::prsSel

Peripheral reflex system trigger selection. Only applicable if prsEnable is enabled.

Definition at line 888 of file em_adc.h.

Referenced by ADC_InitScan(), and MIC_init().

ADC_Ref_TypeDef ADC_InitScan_TypeDef::reference

Sample reference selection. Notice that for external references, the ADC calibration register must be set explicitly.

Definition at line 897 of file em_adc.h.

Referenced by ADC_InitScan(), and MIC_init().

bool ADC_InitScan_TypeDef::rep

Select if continuous conversion until explicit stop.

Definition at line 930 of file em_adc.h.

Referenced by ADC_InitScan().

ADC_Res_TypeDef ADC_InitScan_TypeDef::resolution

Sample resolution.

Definition at line 900 of file em_adc.h.

Referenced by ADC_InitScan().


The documentation for this struct was generated from the following file: