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

Macros

#define ADC_CCR_PRESC_NODIV   (0x0)
 
#define ADC_CCR_PRESC_DIV2   (0x1)
 
#define ADC_CCR_PRESC_DIV4   (0x2)
 
#define ADC_CCR_PRESC_DIV6   (0x3)
 
#define ADC_CCR_PRESC_DIV8   (0x4)
 
#define ADC_CCR_PRESC_DIV10   (0x5)
 
#define ADC_CCR_PRESC_DIV12   (0x6)
 
#define ADC_CCR_PRESC_DIV16   (0x7)
 
#define ADC_CCR_PRESC_DIV32   (0x8)
 
#define ADC_CCR_PRESC_DIV64   (0x9)
 
#define ADC_CCR_PRESC_DIV128   (0xa)
 
#define ADC_CCR_PRESC_DIV256   (0xb)
 

Detailed Description

Macro Definition Documentation

◆ ADC_CCR_PRESC_DIV10

#define ADC_CCR_PRESC_DIV10   (0x5)

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

◆ ADC_CCR_PRESC_DIV12

#define ADC_CCR_PRESC_DIV12   (0x6)

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

◆ ADC_CCR_PRESC_DIV128

#define ADC_CCR_PRESC_DIV128   (0xa)

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

◆ ADC_CCR_PRESC_DIV16

#define ADC_CCR_PRESC_DIV16   (0x7)

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

◆ ADC_CCR_PRESC_DIV2

#define ADC_CCR_PRESC_DIV2   (0x1)

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

◆ ADC_CCR_PRESC_DIV256

#define ADC_CCR_PRESC_DIV256   (0xb)

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

◆ ADC_CCR_PRESC_DIV32

#define ADC_CCR_PRESC_DIV32   (0x8)

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

◆ ADC_CCR_PRESC_DIV4

#define ADC_CCR_PRESC_DIV4   (0x2)

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

◆ ADC_CCR_PRESC_DIV6

#define ADC_CCR_PRESC_DIV6   (0x3)

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

◆ ADC_CCR_PRESC_DIV64

#define ADC_CCR_PRESC_DIV64   (0x9)

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

◆ ADC_CCR_PRESC_DIV8

#define ADC_CCR_PRESC_DIV8   (0x4)

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

◆ ADC_CCR_PRESC_NODIV

#define ADC_CCR_PRESC_NODIV   (0x0)

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