libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Modules | |
MCOPRE MCO prescaler | |
MCO: Microcontroller clock output | |
PPREx: APBx prescaler | |
HPRE: AHB prescaler | |
SW/SWS System clock switch (status) | |
Macros | |
#define | RCC_CFGR_MCOPRE_SHIFT 28 |
#define | RCC_CFGR_MCOPRE_MASK 0x7 |
#define | RCC_CFGR_MCO_SHIFT 24 |
#define | RCC_CFGR_MCO_MASK 0xf |
#define | RCC_CFGR_PPRE2_MASK 0x7 |
#define | RCC_CFGR_PPRE2_SHIFT 11 |
#define | RCC_CFGR_PPRE1_MASK 0x7 |
#define | RCC_CFGR_PPRE1_SHIFT 8 |
#define | RCC_CFGR_HPRE_MASK 0xf |
#define | RCC_CFGR_HPRE_SHIFT 4 |
#define | RCC_CFGR_SWS_MASK 0x3 |
#define | RCC_CFGR_SWS_SHIFT 2 |
#define | RCC_CFGR_SW_MASK 0x3 |
#define | RCC_CFGR_SW_SHIFT 0 |