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

Macros

#define RCC_CFGR_HPRE_NODIV   0x0
 
#define RCC_CFGR_HPRE_DIV2   (0x8 + 0)
 
#define RCC_CFGR_HPRE_DIV4   (0x8 + 1)
 
#define RCC_CFGR_HPRE_DIV8   (0x8 + 2)
 
#define RCC_CFGR_HPRE_DIV16   (0x8 + 3)
 
#define RCC_CFGR_HPRE_DIV64   (0x8 + 4)
 
#define RCC_CFGR_HPRE_DIV128   (0x8 + 5)
 
#define RCC_CFGR_HPRE_DIV256   (0x8 + 6)
 
#define RCC_CFGR_HPRE_DIV512   (0x8 + 7)
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_HPRE_DIV128

#define RCC_CFGR_HPRE_DIV128   (0x8 + 5)

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

◆ RCC_CFGR_HPRE_DIV16

#define RCC_CFGR_HPRE_DIV16   (0x8 + 3)

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

◆ RCC_CFGR_HPRE_DIV2

#define RCC_CFGR_HPRE_DIV2   (0x8 + 0)

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

◆ RCC_CFGR_HPRE_DIV256

#define RCC_CFGR_HPRE_DIV256   (0x8 + 6)

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

◆ RCC_CFGR_HPRE_DIV4

#define RCC_CFGR_HPRE_DIV4   (0x8 + 1)

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

◆ RCC_CFGR_HPRE_DIV512

#define RCC_CFGR_HPRE_DIV512   (0x8 + 7)

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

◆ RCC_CFGR_HPRE_DIV64

#define RCC_CFGR_HPRE_DIV64   (0x8 + 4)

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

◆ RCC_CFGR_HPRE_DIV8

#define RCC_CFGR_HPRE_DIV8   (0x8 + 2)

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

◆ RCC_CFGR_HPRE_NODIV

#define RCC_CFGR_HPRE_NODIV   0x0

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