libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
CFGR2 ADC configuration register 2
Collaboration diagram for CFGR2 ADC configuration register 2:

Modules

 ADC Clock mode
 
 ADC Oversampling shift
 
 ADC Oversampling ratio
 

Macros

#define ADC_CFGR2_CKMODE_SHIFT   (30)
 
#define ADC_CFGR2_CKMODE_MASK   (0x3)
 
#define ADC_CFGR2_LFTRIG   (1 << 29)
 LFTRIG: Low Frequency Trigger Mode enable bit. More...
 
#define ADC_CFGR2_TOVS   (1 << 9)
 TOVS: Triggered Oversampling. More...
 
#define ADC_CFGR2_OVSS_SHIFT   (5)
 
#define ADC_CFGR2_OVSS_MASK   (0xf)
 
#define ADC_CFGR2_OVSR_SHIFT   (2)
 
#define ADC_CFGR2_OVSR_MASK   (0x7)
 
#define ADC_CFGR2_OVSE   (1 << 0)
 OVSE: Oversampler mode enable bit. More...
 

Detailed Description

Macro Definition Documentation

◆ ADC_CFGR2_CKMODE_MASK

#define ADC_CFGR2_CKMODE_MASK   (0x3)

Definition at line 149 of file g0/adc.h.

◆ ADC_CFGR2_CKMODE_SHIFT

#define ADC_CFGR2_CKMODE_SHIFT   (30)

Definition at line 148 of file g0/adc.h.

◆ ADC_CFGR2_LFTRIG

#define ADC_CFGR2_LFTRIG   (1 << 29)

LFTRIG: Low Frequency Trigger Mode enable bit.

Definition at line 159 of file g0/adc.h.

◆ ADC_CFGR2_OVSE

#define ADC_CFGR2_OVSE   (1 << 0)

OVSE: Oversampler mode enable bit.

Definition at line 186 of file g0/adc.h.

◆ ADC_CFGR2_OVSR_MASK

#define ADC_CFGR2_OVSR_MASK   (0x7)

Definition at line 172 of file g0/adc.h.

◆ ADC_CFGR2_OVSR_SHIFT

#define ADC_CFGR2_OVSR_SHIFT   (2)

Definition at line 171 of file g0/adc.h.

◆ ADC_CFGR2_OVSS_MASK

#define ADC_CFGR2_OVSS_MASK   (0xf)

Definition at line 165 of file g0/adc.h.

◆ ADC_CFGR2_OVSS_SHIFT

#define ADC_CFGR2_OVSS_SHIFT   (5)

Definition at line 164 of file g0/adc.h.

◆ ADC_CFGR2_TOVS

#define ADC_CFGR2_TOVS   (1 << 9)

TOVS: Triggered Oversampling.

Definition at line 162 of file g0/adc.h.