EFM32 Pearl Gecko Software Documentation  efm32pg1-doc-4.2.1
ADC_InitScan_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_InitScanInput_TypeDef scanInputConfig
 
bool diff
 
bool prsEnable
 
bool leftAdjust
 
bool rep
 
bool scanDmaEm2Wu
 
bool fifoOverwrite
 

Detailed Description

Scan sequence init structure.

Definition at line 857 of file em_adc.h.

Field Documentation

ADC_PRSSEL_TypeDef ADC_InitScan_TypeDef::prsSel

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

Definition at line 863 of file em_adc.h.

Referenced by ADC_InitScan().

ADC_AcqTime_TypeDef ADC_InitScan_TypeDef::acqTime

Acquisition time (in ADC clock cycles).

Definition at line 866 of file em_adc.h.

Referenced by ADC_InitScan().

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

Referenced by ADC_InitScan().

ADC_Res_TypeDef ADC_InitScan_TypeDef::resolution

Sample resolution.

Definition at line 875 of file em_adc.h.

Referenced by ADC_InitScan().

ADC_InitScanInput_TypeDef ADC_InitScan_TypeDef::scanInputConfig

Scan input configuration. Use ADC_ScanSingleEndedInit() or ADC_ScanDifferentialInit() to write this struct. Note that the diff variable is included in ADC_InitScanInput_TypeDef.

Definition at line 892 of file em_adc.h.

Referenced by ADC_InitScan(), ADC_ScanDifferentialInputAdd(), ADC_ScanInputClear(), and ADC_ScanSingleEndedInputAdd().

bool ADC_InitScan_TypeDef::diff

Select if single ended or differential input.

Definition at line 896 of file em_adc.h.

Referenced by ADC_InitScan(), ADC_ScanDifferentialInputAdd(), and ADC_ScanSingleEndedInputAdd().

bool ADC_InitScan_TypeDef::prsEnable

Peripheral reflex system trigger enable.

Definition at line 899 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::leftAdjust

Select if left adjustment should be done.

Definition at line 902 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::rep

Select if continuous conversion until explicit stop.

Definition at line 905 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::scanDmaEm2Wu

When true, DMA is available in EM2 for scan conversion

Definition at line 909 of file em_adc.h.

Referenced by ADC_InitScan().

bool ADC_InitScan_TypeDef::fifoOverwrite

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

Definition at line 915 of file em_adc.h.

Referenced by ADC_InitScan().


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