libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
RCC_CFGR APBx prescale factors

These can be used for both APB1 and APB2 prescaling. More...

Collaboration diagram for RCC_CFGR APBx prescale factors:

Macros

#define RCC_CFGR_PPRE_NODIV   0x0
 
#define RCC_CFGR_PPRE_DIV2   0x4
 
#define RCC_CFGR_PPRE_DIV4   0x5
 
#define RCC_CFGR_PPRE_DIV8   0x6
 
#define RCC_CFGR_PPRE_DIV16   0x7
 

Detailed Description

These can be used for both APB1 and APB2 prescaling.

Macro Definition Documentation

◆ RCC_CFGR_PPRE_DIV16

#define RCC_CFGR_PPRE_DIV16   0x7

Definition at line 179 of file l1/rcc.h.

◆ RCC_CFGR_PPRE_DIV2

#define RCC_CFGR_PPRE_DIV2   0x4

Definition at line 176 of file l1/rcc.h.

◆ RCC_CFGR_PPRE_DIV4

#define RCC_CFGR_PPRE_DIV4   0x5

Definition at line 177 of file l1/rcc.h.

◆ RCC_CFGR_PPRE_DIV8

#define RCC_CFGR_PPRE_DIV8   0x6

Definition at line 178 of file l1/rcc.h.

◆ RCC_CFGR_PPRE_NODIV

#define RCC_CFGR_PPRE_NODIV   0x0

Definition at line 175 of file l1/rcc.h.