libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
PLLCFGR PLL Configuration Register
Collaboration diagram for PLLCFGR PLL Configuration Register:

Modules

 PLLR
 VCO Division factor R for PLLRCLK clock output [2..8].
 
 PLLQ
 VCO Division factor Q for PLLQCLK clock output [2..8].
 
 PLLP
 VCO Division factor P for PLLPCLK clock output [2..32].
 
 PLLN
 Multiplication factor N [8..86] for PLL VCO output frequency.
 
 PLLM
 Division factor M [1..8] for PLL input clock.
 
 PLLSRC
 PLL input clock source.
 

Macros

#define RCC_PLLCFGR_PLLR_SHIFT   29
 
#define RCC_PLLCFGR_PLLR_MASK   0x7
 
#define RCC_PLLCFGR_PLLREN   (1<<28)
 
#define RCC_PLLCFGR_PLLQ_SHIFT   25
 
#define RCC_PLLCFGR_PLLQ_MASK   0x7
 
#define RCC_PLLCFGR_PLLQEN   (1 << 24)
 
#define RCC_PLLCFGR_PLLP_SHIFT   17
 
#define RCC_PLLCFGR_PLLP_MASK   0x1f
 
#define RCC_PLLCFGR_PLLPEN   (1 << 16)
 
#define RCC_PLLCFGR_PLLN_SHIFT   0x8
 
#define RCC_PLLCFGR_PLLN_MASK   0x7f
 
#define RCC_PLLCFGR_PLLM_SHIFT   0x4
 
#define RCC_PLLCFGR_PLLM_MASK   0x7
 
#define RCC_PLLCFGR_PLLSRC_SHIFT   0
 
#define RCC_PLLCFGR_PLLSRC_MASK   0x3
 

Detailed Description

Macro Definition Documentation

◆ RCC_PLLCFGR_PLLM_MASK

#define RCC_PLLCFGR_PLLM_MASK   0x7

Definition at line 252 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLM_SHIFT

#define RCC_PLLCFGR_PLLM_SHIFT   0x4

Definition at line 251 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLN_MASK

#define RCC_PLLCFGR_PLLN_MASK   0x7f

Definition at line 244 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLN_SHIFT

#define RCC_PLLCFGR_PLLN_SHIFT   0x8

Definition at line 243 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLP_MASK

#define RCC_PLLCFGR_PLLP_MASK   0x1f

Definition at line 233 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLP_SHIFT

#define RCC_PLLCFGR_PLLP_SHIFT   17

Definition at line 232 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLPEN

#define RCC_PLLCFGR_PLLPEN   (1 << 16)

Definition at line 241 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLQ_MASK

#define RCC_PLLCFGR_PLLQ_MASK   0x7

Definition at line 222 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLQ_SHIFT

#define RCC_PLLCFGR_PLLQ_SHIFT   25

Definition at line 221 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLQEN

#define RCC_PLLCFGR_PLLQEN   (1 << 24)

Definition at line 230 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLR_MASK

#define RCC_PLLCFGR_PLLR_MASK   0x7

Definition at line 211 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLR_SHIFT

#define RCC_PLLCFGR_PLLR_SHIFT   29

Definition at line 210 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLREN

#define RCC_PLLCFGR_PLLREN   (1<<28)

Definition at line 219 of file g0/rcc.h.

◆ RCC_PLLCFGR_PLLSRC_MASK

#define RCC_PLLCFGR_PLLSRC_MASK   0x3

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

◆ RCC_PLLCFGR_PLLSRC_SHIFT

#define RCC_PLLCFGR_PLLSRC_SHIFT   0

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