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 << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV2   (0x8 << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV4   (0x9 << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV8   (0xa << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV16   (0xb << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV64   (0xc << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV128   (0xd << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV256   (0xe << RCC_CFGR_HPRE_SHIFT)
 
#define RCC_CFGR_HPRE_DIV512   (0xf << RCC_CFGR_HPRE_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_HPRE_DIV128

#define RCC_CFGR_HPRE_DIV128   (0xd << RCC_CFGR_HPRE_SHIFT)

Definition at line 173 of file f0/rcc.h.

◆ RCC_CFGR_HPRE_DIV16

#define RCC_CFGR_HPRE_DIV16   (0xb << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_DIV2

#define RCC_CFGR_HPRE_DIV2   (0x8 << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_DIV256

#define RCC_CFGR_HPRE_DIV256   (0xe << RCC_CFGR_HPRE_SHIFT)

Definition at line 174 of file f0/rcc.h.

◆ RCC_CFGR_HPRE_DIV4

#define RCC_CFGR_HPRE_DIV4   (0x9 << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_DIV512

#define RCC_CFGR_HPRE_DIV512   (0xf << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_DIV64

#define RCC_CFGR_HPRE_DIV64   (0xc << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_DIV8

#define RCC_CFGR_HPRE_DIV8   (0xa << RCC_CFGR_HPRE_SHIFT)

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

◆ RCC_CFGR_HPRE_NODIV

#define RCC_CFGR_HPRE_NODIV   (0x0 << RCC_CFGR_HPRE_SHIFT)

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