EFR32 Blue Gecko 12 Software Documentation  efr32bg12-doc-5.1.2
ADC_InitSingle_TypeDef Struct Reference

Detailed Description

Single conversion init structure.

Definition at line 984 of file em_adc.h.

#include <em_adc.h>

Data Fields

ADC_AcqTime_TypeDef acqTime
 
bool diff
 
bool fifoOverwrite
 
bool leftAdjust
 
ADC_NegSel_TypeDef negSel
 
ADC_PosSel_TypeDef posSel
 
bool prsEnable
 
ADC_PRSSEL_TypeDef prsSel
 
ADC_Ref_TypeDef reference
 
bool rep
 
ADC_Res_TypeDef resolution
 
bool singleDmaEm2Wu
 

Field Documentation

ADC_AcqTime_TypeDef ADC_InitSingle_TypeDef::acqTime

Acquisition time (in ADC clock cycles).

Definition at line 993 of file em_adc.h.

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

bool ADC_InitSingle_TypeDef::diff

Select if single ended or differential input.

Definition at line 1024 of file em_adc.h.

Referenced by ADC_InitSingle().

bool ADC_InitSingle_TypeDef::fifoOverwrite

When true, the FIFO overwrites old data when full. If false, then the FIFO discards new data. The SCANOF IRQ is triggered in both cases.

Definition at line 1043 of file em_adc.h.

Referenced by ADC_InitSingle().

bool ADC_InitSingle_TypeDef::leftAdjust

Select if left adjustment should be done.

Definition at line 1030 of file em_adc.h.

Referenced by ADC_InitSingle().

ADC_NegSel_TypeDef ADC_InitSingle_TypeDef::negSel

Select negative input for single channel conversion mode. Negative input is grounded for single ended (non-differential) converison.

Definition at line 1020 of file em_adc.h.

Referenced by ADC_InitSingle(), and adcInit().

ADC_PosSel_TypeDef ADC_InitSingle_TypeDef::posSel

Select positive input for for single channel conversion mode.

Definition at line 1014 of file em_adc.h.

Referenced by ADC_InitSingle(), and adcInit().

bool ADC_InitSingle_TypeDef::prsEnable

Peripheral reflex system trigger enable.

Definition at line 1027 of file em_adc.h.

Referenced by ADC_InitSingle(), and adcInit().

ADC_PRSSEL_TypeDef ADC_InitSingle_TypeDef::prsSel

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

Definition at line 990 of file em_adc.h.

Referenced by ADC_InitSingle(), and adcInit().

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 999 of file em_adc.h.

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

bool ADC_InitSingle_TypeDef::rep

Select if continuous conversion until explicit stop.

Definition at line 1033 of file em_adc.h.

Referenced by ADC_InitSingle().

ADC_Res_TypeDef ADC_InitSingle_TypeDef::resolution

Sample resolution.

Definition at line 1002 of file em_adc.h.

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

bool ADC_InitSingle_TypeDef::singleDmaEm2Wu

When true, DMA is available in EM2 for single conversion

Definition at line 1037 of file em_adc.h.

Referenced by ADC_InitSingle().


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