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 205 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_16

#define RCC_CFGR_HPRE_DIV_16   (0x8 + 3)

Definition at line 203 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_2

#define RCC_CFGR_HPRE_DIV_2   (0x8 + 0)

Definition at line 200 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_256

#define RCC_CFGR_HPRE_DIV_256   (0x8 + 6)

Definition at line 206 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_4

#define RCC_CFGR_HPRE_DIV_4   (0x8 + 1)

Definition at line 201 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_512

#define RCC_CFGR_HPRE_DIV_512   (0x8 + 7)

Definition at line 207 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_64

#define RCC_CFGR_HPRE_DIV_64   (0x8 + 4)

Definition at line 204 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_8

#define RCC_CFGR_HPRE_DIV_8   (0x8 + 2)

Definition at line 202 of file f2/rcc.h.

◆ RCC_CFGR_HPRE_DIV_NONE

#define RCC_CFGR_HPRE_DIV_NONE   0x0

Definition at line 199 of file f2/rcc.h.

◆ RCC_CFGR_PPRE_DIV_16

#define RCC_CFGR_PPRE_DIV_16   0x7

Definition at line 197 of file f2/rcc.h.

◆ RCC_CFGR_PPRE_DIV_2

#define RCC_CFGR_PPRE_DIV_2   0x4

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

◆ RCC_CFGR_PPRE_DIV_4

#define RCC_CFGR_PPRE_DIV_4   0x5

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

◆ RCC_CFGR_PPRE_DIV_8

#define RCC_CFGR_PPRE_DIV_8   0x6

Definition at line 196 of file f2/rcc.h.

◆ RCC_CFGR_PPRE_DIV_NONE

#define RCC_CFGR_PPRE_DIV_NONE   0x0

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