EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-4.2.1
ADC_InitSingle_TypeDef Struct Reference

#include <em_adc.h>

Data Fields

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

Detailed Description

Single conversion init structure.

Definition at line 956 of file em_adc.h.

Field Documentation

ADC_PRSSEL_TypeDef ADC_InitSingle_TypeDef::prsSel

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

Definition at line 962 of file em_adc.h.

Referenced by ADC_InitSingle().

ADC_AcqTime_TypeDef ADC_InitSingle_TypeDef::acqTime

Acquisition time (in ADC clock cycles).

Definition at line 965 of file em_adc.h.

Referenced by ADC0_IRQHandler(), and ADC_InitSingle().

ADC_Ref_TypeDef ADC_InitSingle_TypeDef::reference

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

Definition at line 971 of file em_adc.h.

Referenced by ADC0_IRQHandler(), ADC_InitSingle(), and TOUCH_Init().

ADC_Res_TypeDef ADC_InitSingle_TypeDef::resolution

Sample resolution.

Definition at line 974 of file em_adc.h.

Referenced by ADC0_IRQHandler(), ADC_InitSingle(), and TOUCH_Init().

ADC_SingleInput_TypeDef ADC_InitSingle_TypeDef::input

Sample input selection, use single ended or differential input according to setting of diff.

Definition at line 981 of file em_adc.h.

Referenced by ADC0_IRQHandler(), ADC_InitSingle(), and TOUCH_Init().

bool ADC_InitSingle_TypeDef::diff

Select if single ended or differential input.

Definition at line 996 of file em_adc.h.

Referenced by ADC_InitSingle().

bool ADC_InitSingle_TypeDef::prsEnable

Peripheral reflex system trigger enable.

Definition at line 999 of file em_adc.h.

Referenced by ADC_InitSingle().

bool ADC_InitSingle_TypeDef::leftAdjust

Select if left adjustment should be done.

Definition at line 1002 of file em_adc.h.

Referenced by ADC_InitSingle().

bool ADC_InitSingle_TypeDef::rep

Select if continuous conversion until explicit stop.

Definition at line 1005 of file em_adc.h.

Referenced by ADC_InitSingle().


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