libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
RCC_CFGR Deprecated dividers

Older compatible definitions to ease migration. More...

Macros

#define RCC_CFGR_PPRE2_DIV_NONE   0x0
 
#define RCC_CFGR_PPRE2_DIV_2   0x4
 
#define RCC_CFGR_PPRE2_DIV_4   0x5
 
#define RCC_CFGR_PPRE2_DIV_8   0x6
 
#define RCC_CFGR_PPRE2_DIV_16   0x7
 
#define RCC_CFGR_PPRE1_DIV_NONE   0x0
 
#define RCC_CFGR_PPRE1_DIV_2   0x4
 
#define RCC_CFGR_PPRE1_DIV_4   0x5
 
#define RCC_CFGR_PPRE1_DIV_8   0x6
 
#define RCC_CFGR_PPRE1_DIV_16   0x7
 
#define RCC_CFGR_HPRE_DIV_NONE   0x0
 
#define RCC_CFGR_HPRE_DIV_2   0x8
 
#define RCC_CFGR_HPRE_DIV_4   0x9
 
#define RCC_CFGR_HPRE_DIV_8   0xA
 
#define RCC_CFGR_HPRE_DIV_16   0xB
 
#define RCC_CFGR_HPRE_DIV_64   0xC
 
#define RCC_CFGR_HPRE_DIV_128   0xD
 
#define RCC_CFGR_HPRE_DIV_256   0xE
 
#define RCC_CFGR_HPRE_DIV_512   0xF
 

Detailed Description

Older compatible definitions to ease migration.

Deprecated:
Use _CFGR_xPRE_DIVn form instead, across all families

Macro Definition Documentation

◆ RCC_CFGR_HPRE_DIV_128

#define RCC_CFGR_HPRE_DIV_128   0xD

Definition at line 193 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_16

#define RCC_CFGR_HPRE_DIV_16   0xB

Definition at line 191 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_2

#define RCC_CFGR_HPRE_DIV_2   0x8

Definition at line 188 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_256

#define RCC_CFGR_HPRE_DIV_256   0xE

Definition at line 194 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_4

#define RCC_CFGR_HPRE_DIV_4   0x9

Definition at line 189 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_512

#define RCC_CFGR_HPRE_DIV_512   0xF

Definition at line 195 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_64

#define RCC_CFGR_HPRE_DIV_64   0xC

Definition at line 192 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_8

#define RCC_CFGR_HPRE_DIV_8   0xA

Definition at line 190 of file f3/rcc.h.

◆ RCC_CFGR_HPRE_DIV_NONE

#define RCC_CFGR_HPRE_DIV_NONE   0x0

Definition at line 187 of file f3/rcc.h.

◆ RCC_CFGR_PPRE1_DIV_16

#define RCC_CFGR_PPRE1_DIV_16   0x7

Definition at line 185 of file f3/rcc.h.

◆ RCC_CFGR_PPRE1_DIV_2

#define RCC_CFGR_PPRE1_DIV_2   0x4

Definition at line 182 of file f3/rcc.h.

◆ RCC_CFGR_PPRE1_DIV_4

#define RCC_CFGR_PPRE1_DIV_4   0x5

Definition at line 183 of file f3/rcc.h.

◆ RCC_CFGR_PPRE1_DIV_8

#define RCC_CFGR_PPRE1_DIV_8   0x6

Definition at line 184 of file f3/rcc.h.

◆ RCC_CFGR_PPRE1_DIV_NONE

#define RCC_CFGR_PPRE1_DIV_NONE   0x0

Definition at line 181 of file f3/rcc.h.

◆ RCC_CFGR_PPRE2_DIV_16

#define RCC_CFGR_PPRE2_DIV_16   0x7

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

◆ RCC_CFGR_PPRE2_DIV_2

#define RCC_CFGR_PPRE2_DIV_2   0x4

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

◆ RCC_CFGR_PPRE2_DIV_4

#define RCC_CFGR_PPRE2_DIV_4   0x5

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

◆ RCC_CFGR_PPRE2_DIV_8

#define RCC_CFGR_PPRE2_DIV_8   0x6

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

◆ RCC_CFGR_PPRE2_DIV_NONE

#define RCC_CFGR_PPRE2_DIV_NONE   0x0

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