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

Modules

 ADC clock prescaler
 

Macros

#define ADC_CCR_PRESC_MASK   (0xf)
 
#define ADC_CCR_PRESC_SHIFT   (18)
 
#define ADC_CCR_VBATEN   (1 << 24)
 VBATEN: Enable VBAT Channel. More...
 
#define ADC_CCR_TSEN   (1 << 23)
 TSEN: Enable Temperature Sensor. More...
 
#define ADC_CCR_VREFEN   (1 << 22)
 VREFEN: Enable internal Voltage Reference. More...
 

Detailed Description

Macro Definition Documentation

◆ ADC_CCR_PRESC_MASK

#define ADC_CCR_PRESC_MASK   (0xf)

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

◆ ADC_CCR_PRESC_SHIFT

#define ADC_CCR_PRESC_SHIFT   (18)

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

◆ ADC_CCR_TSEN

#define ADC_CCR_TSEN   (1 << 23)

TSEN: Enable Temperature Sensor.

Definition at line 208 of file adc_common_v2.h.

◆ ADC_CCR_VBATEN

#define ADC_CCR_VBATEN   (1 << 24)

VBATEN: Enable VBAT Channel.

Definition at line 205 of file adc_common_v2.h.

◆ ADC_CCR_VREFEN

#define ADC_CCR_VREFEN   (1 << 22)

VREFEN: Enable internal Voltage Reference.

Definition at line 211 of file adc_common_v2.h.