libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.

System clock switch. More...

Collaboration diagram for SW:

Macros

#define RCC_CFGR_SW_HSISYS   0x0
 
#define RCC_CFGR_SW_HSE   0x1
 
#define RCC_CFGR_SW_PLLRCLK   0x2
 
#define RCC_CFGR_SW_LSI   0x3
 
#define RCC_CFGR_SW_LSE   0x4
 

Detailed Description

System clock switch.

See also
SW

Macro Definition Documentation

◆ RCC_CFGR_SW_HSE

#define RCC_CFGR_SW_HSE   0x1

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

◆ RCC_CFGR_SW_HSISYS

#define RCC_CFGR_SW_HSISYS   0x0

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

◆ RCC_CFGR_SW_LSE

#define RCC_CFGR_SW_LSE   0x4

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

◆ RCC_CFGR_SW_LSI

#define RCC_CFGR_SW_LSI   0x3

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

◆ RCC_CFGR_SW_PLLRCLK

#define RCC_CFGR_SW_PLLRCLK   0x2

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