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

System clock switch status. More...

Collaboration diagram for SWS:

Macros

#define RCC_CFGR_SWS_HSISYS   0x0
 
#define RCC_CFGR_SWS_HSE   0x1
 
#define RCC_CFGR_SWS_PLLRCLK   0x2
 
#define RCC_CFGR_SWS_LSI   0x3
 
#define RCC_CFGR_SWS_LSE   0x4
 

Detailed Description

System clock switch status.

See also
SWS

Macro Definition Documentation

◆ RCC_CFGR_SWS_HSE

#define RCC_CFGR_SWS_HSE   0x1

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

◆ RCC_CFGR_SWS_HSISYS

#define RCC_CFGR_SWS_HSISYS   0x0

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

◆ RCC_CFGR_SWS_LSE

#define RCC_CFGR_SWS_LSE   0x4

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

◆ RCC_CFGR_SWS_LSI

#define RCC_CFGR_SWS_LSI   0x3

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

◆ RCC_CFGR_SWS_PLLRCLK

#define RCC_CFGR_SWS_PLLRCLK   0x2

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