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

Macros

#define RCC_CFGR_SW_SYSCLKSEL_HSICLK   0x0
 
#define RCC_CFGR_SW_SYSCLKSEL_HSECLK   0x1
 
#define RCC_CFGR_SW_SYSCLKSEL_PLLCLK   0x2
 

Detailed Description

Macro Definition Documentation

◆ RCC_CFGR_SW_SYSCLKSEL_HSECLK

#define RCC_CFGR_SW_SYSCLKSEL_HSECLK   0x1

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

◆ RCC_CFGR_SW_SYSCLKSEL_HSICLK

#define RCC_CFGR_SW_SYSCLKSEL_HSICLK   0x0

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

◆ RCC_CFGR_SW_SYSCLKSEL_PLLCLK

#define RCC_CFGR_SW_SYSCLKSEL_PLLCLK   0x2

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