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

Macros

#define RCC_CFGR_HPRE_NODIV   0x0
 
#define RCC_CFGR_HPRE_DIV2   0x8
 
#define RCC_CFGR_HPRE_DIV4   0x9
 
#define RCC_CFGR_HPRE_DIV8   0xa
 
#define RCC_CFGR_HPRE_DIV16   0xb
 
#define RCC_CFGR_HPRE_DIV64   0xc
 
#define RCC_CFGR_HPRE_DIV128   0xd
 
#define RCC_CFGR_HPRE_DIV256   0xe
 
#define RCC_CFGR_HPRE_DIV512   0xf
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_HPRE_DIV128

#define RCC_CFGR_HPRE_DIV128   0xd

Definition at line 207 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV16

#define RCC_CFGR_HPRE_DIV16   0xb

Definition at line 205 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV2

#define RCC_CFGR_HPRE_DIV2   0x8

Definition at line 202 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV256

#define RCC_CFGR_HPRE_DIV256   0xe

Definition at line 208 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV4

#define RCC_CFGR_HPRE_DIV4   0x9

Definition at line 203 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV512

#define RCC_CFGR_HPRE_DIV512   0xf

Definition at line 209 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV64

#define RCC_CFGR_HPRE_DIV64   0xc

Definition at line 206 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_DIV8

#define RCC_CFGR_HPRE_DIV8   0xa

Definition at line 204 of file gd32/f1x0/rcc.h.

◆ RCC_CFGR_HPRE_NODIV

#define RCC_CFGR_HPRE_NODIV   0x0

Definition at line 201 of file gd32/f1x0/rcc.h.