libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
SW/SWS System clock switch (status)
Collaboration diagram for SW/SWS System clock switch (status):

Macros

#define RCC_CFGR_SWx_HSI16   0x1
 
#define RCC_CFGR_SWx_HSE   0x2
 
#define RCC_CFGR_SWx_PLL   0x3
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_SWx_HSE

#define RCC_CFGR_SWx_HSE   0x2

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

◆ RCC_CFGR_SWx_HSI16

#define RCC_CFGR_SWx_HSI16   0x1

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

◆ RCC_CFGR_SWx_PLL

#define RCC_CFGR_SWx_PLL   0x3

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