ADC_Init_TypeDef Struct Reference
[ADC]

#include <em_adc.h>

Collaboration diagram for ADC_Init_TypeDef:
Collaboration graph
[legend]

Data Fields

ADC_OvsRateSel_TypeDef ovsRateSel
ADC_LPFilter_TypeDef lpfMode
ADC_Warmup_TypeDef warmUpMode
uint8_t timebase
uint8_t prescale
bool tailgate

Detailed Description

ADC init structure, common for single conversion and scan sequence.

Definition at line 271 of file em_adc.h.


Field Documentation

Lowpass or decoupling capacitor filter to use.

Definition at line 280 of file em_adc.h.

Referenced by ADC_Init().

Oversampling rate select. In order to have any effect, oversampling must be enabled for single/scan mode.

Definition at line 277 of file em_adc.h.

Referenced by ADC_Init().

Clock division factor N, ADC clock = HFPERCLK / (N + 1).

Definition at line 295 of file em_adc.h.

Referenced by ADC_Init().

Enable/disable conversion tailgating.

Definition at line 298 of file em_adc.h.

Referenced by ADC_Init().

Timebase used for ADC warm up. Select N to give (N+1)HFPERCLK cycles. (Additional delay is added for bandgap references, please refer to the reference manual.) Normally, N should be selected so that the timebase is at least 1 us. See ADC_TimebaseCalc() for a way to obtain a suggested timebase of at least 1 us.

Definition at line 292 of file em_adc.h.

Referenced by ADC_Init().

Warm-up mode to use for ADC.

Definition at line 283 of file em_adc.h.

Referenced by ADC_Init().


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