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...

Collaboration diagram for RCC_CFGR Deprecated dividers:

Macros

#define RCC_CFGR_PPRE_DIV_NONE   0x0
 
#define RCC_CFGR_PPRE_DIV_2   0x4
 
#define RCC_CFGR_PPRE_DIV_4   0x5
 
#define RCC_CFGR_PPRE_DIV_8   0x6
 
#define RCC_CFGR_PPRE_DIV_16   0x7
 
#define RCC_CFGR_HPRE_DIV_NONE   0x0
 
#define RCC_CFGR_HPRE_DIV_2   (0x8 + 0)
 
#define RCC_CFGR_HPRE_DIV_4   (0x8 + 1)
 
#define RCC_CFGR_HPRE_DIV_8   (0x8 + 2)
 
#define RCC_CFGR_HPRE_DIV_16   (0x8 + 3)
 
#define RCC_CFGR_HPRE_DIV_64   (0x8 + 4)
 
#define RCC_CFGR_HPRE_DIV_128   (0x8 + 5)
 
#define RCC_CFGR_HPRE_DIV_256   (0x8 + 6)
 
#define RCC_CFGR_HPRE_DIV_512   (0x8 + 7)
 

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   (0x8 + 5)

Definition at line 270 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_16

#define RCC_CFGR_HPRE_DIV_16   (0x8 + 3)

Definition at line 268 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_2

#define RCC_CFGR_HPRE_DIV_2   (0x8 + 0)

Definition at line 265 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_256

#define RCC_CFGR_HPRE_DIV_256   (0x8 + 6)

Definition at line 271 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_4

#define RCC_CFGR_HPRE_DIV_4   (0x8 + 1)

Definition at line 266 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_512

#define RCC_CFGR_HPRE_DIV_512   (0x8 + 7)

Definition at line 272 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_64

#define RCC_CFGR_HPRE_DIV_64   (0x8 + 4)

Definition at line 269 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_8

#define RCC_CFGR_HPRE_DIV_8   (0x8 + 2)

Definition at line 267 of file f4/rcc.h.

◆ RCC_CFGR_HPRE_DIV_NONE

#define RCC_CFGR_HPRE_DIV_NONE   0x0

Definition at line 264 of file f4/rcc.h.

◆ RCC_CFGR_PPRE_DIV_16

#define RCC_CFGR_PPRE_DIV_16   0x7

Definition at line 262 of file f4/rcc.h.

◆ RCC_CFGR_PPRE_DIV_2

#define RCC_CFGR_PPRE_DIV_2   0x4

Definition at line 259 of file f4/rcc.h.

◆ RCC_CFGR_PPRE_DIV_4

#define RCC_CFGR_PPRE_DIV_4   0x5

Definition at line 260 of file f4/rcc.h.

◆ RCC_CFGR_PPRE_DIV_8

#define RCC_CFGR_PPRE_DIV_8   0x6

Definition at line 261 of file f4/rcc.h.

◆ RCC_CFGR_PPRE_DIV_NONE

#define RCC_CFGR_PPRE_DIV_NONE   0x0

Definition at line 258 of file f4/rcc.h.