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 474 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV12

#define ADC_CCR_PRESC_DIV12   (0x6)

Definition at line 475 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV128

#define ADC_CCR_PRESC_DIV128   (0xa)

Definition at line 479 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV16

#define ADC_CCR_PRESC_DIV16   (0x7)

Definition at line 476 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV2

#define ADC_CCR_PRESC_DIV2   (0x1)

Definition at line 470 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV256

#define ADC_CCR_PRESC_DIV256   (0xb)

Definition at line 480 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV32

#define ADC_CCR_PRESC_DIV32   (0x8)

Definition at line 477 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV4

#define ADC_CCR_PRESC_DIV4   (0x2)

Definition at line 471 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV6

#define ADC_CCR_PRESC_DIV6   (0x3)

Definition at line 472 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV64

#define ADC_CCR_PRESC_DIV64   (0x9)

Definition at line 478 of file g4/adc.h.

◆ ADC_CCR_PRESC_DIV8

#define ADC_CCR_PRESC_DIV8   (0x4)

Definition at line 473 of file g4/adc.h.

◆ ADC_CCR_PRESC_NODIV

#define ADC_CCR_PRESC_NODIV   (0x0)

Definition at line 469 of file g4/adc.h.