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 195 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_PPRE_DIV2

#define RCC_CFGR_PPRE_DIV2   0x4

Definition at line 192 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_PPRE_DIV4

#define RCC_CFGR_PPRE_DIV4   0x5

Definition at line 193 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_PPRE_DIV8

#define RCC_CFGR_PPRE_DIV8   0x6

Definition at line 194 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_PPRE_NODIV

#define RCC_CFGR_PPRE_NODIV   0x0

Definition at line 191 of file gd32/f1x0/rcc.h.