Default STM32L4 clock configuration. More...
Default STM32L4 clock configuration.
Definition in file cfg_clock_default.h.
Go to the source code of this file.
Clock system configuration | |
#define | CONFIG_USE_CLOCK_PLL 1 /* Use PLL by default */ |
#define | CONFIG_USE_CLOCK_MSI 0 |
#define | CONFIG_USE_CLOCK_HSE 0 |
#define | CONFIG_USE_CLOCK_HSI 0 |
#define | CONFIG_BOARD_HAS_HSE 0 |
#define | CLOCK_HSE MHZ(8) |
#define | CONFIG_BOARD_HAS_LSE 0 |
#define | CLOCK_HSI MHZ(16) |
#define | CONFIG_CLOCK_MSI MHZ(48) |
#define | CONFIG_CLOCK_PLL_SRC_MSI 1 /* Use MSI as input clock by default */ |
#define | CONFIG_CLOCK_PLL_SRC_HSE 0 |
#define | CONFIG_CLOCK_PLL_SRC_HSI 0 |
#define | CLOCK_PLL_SRC (CLOCK_HSI) |
#define | CONFIG_CLOCK_PLL_M (2) /* HSI at 16MHz */ |
#define | CONFIG_CLOCK_PLL_N (20) |
#define | CONFIG_CLOCK_PLL_Q (2) |
#define | CONFIG_CLOCK_PLL_R (2) |
#define | CLOCK_AHB CLOCK_CORECLOCK /* HCLK, max: 64/80/120MHz */ |
#define | CONFIG_CLOCK_APB1_DIV (4) |
#define | CLOCK_APB1 (CLOCK_AHB / CONFIG_CLOCK_APB1_DIV) /* PCLK1, max: 64/80/120MHz */ |
#define | CONFIG_CLOCK_APB2_DIV (2) |
#define | CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* PCLK1, max: 64/80/120MHz */ |