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

Macros

#define ADC_CLKSOURCE_ADC   ADC_CFGR2_CKMODE_ADCCLK
 
#define ADC_CLKSOURCE_PCLK   ADC_CFGR2_CKMODE_PCLK
 
#define ADC_CLKSOURCE_PCLK_DIV2   ADC_CFGR2_CKMODE_PCLK_DIV2
 
#define ADC_CLKSOURCE_PCLK_DIV4   ADC_CFGR2_CKMODE_PCLK_DIV4
 

Detailed Description

Macro Definition Documentation

◆ ADC_CLKSOURCE_ADC

#define ADC_CLKSOURCE_ADC   ADC_CFGR2_CKMODE_ADCCLK

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

◆ ADC_CLKSOURCE_PCLK

#define ADC_CLKSOURCE_PCLK   ADC_CFGR2_CKMODE_PCLK

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

◆ ADC_CLKSOURCE_PCLK_DIV2

#define ADC_CLKSOURCE_PCLK_DIV2   ADC_CFGR2_CKMODE_PCLK_DIV2

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

◆ ADC_CLKSOURCE_PCLK_DIV4

#define ADC_CLKSOURCE_PCLK_DIV4   ADC_CFGR2_CKMODE_PCLK_DIV4

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