Configure STM32G4 clock. More...
Configure STM32G4 clock.
Definition in file cfg_clock_default.h.
Go to the source code of this file.
Clock settings | |
#define | CONFIG_USE_CLOCK_PLL 1 /* Use PLL by default */ |
#define | CONFIG_USE_CLOCK_HSE 0 |
#define | CONFIG_USE_CLOCK_HSI 0 |
#define | CONFIG_BOARD_HAS_HSE 0 |
#define | CLOCK_HSE MHZ(24) |
#define | CONFIG_BOARD_HAS_LSE 0 |
#define | CLOCK_HSI MHZ(16) |
#define | CLOCK_PLL_SRC (CLOCK_HSI) |
#define | CONFIG_CLOCK_PLL_M (4) |
#define | CONFIG_CLOCK_PLL_N (85) |
#define | CONFIG_CLOCK_PLL_R (2) |
#define | CLOCK_AHB CLOCK_CORECLOCK /* max: 170MHz */ |
#define | CONFIG_CLOCK_APB1_DIV (1) |
#define | CLOCK_APB1 (CLOCK_AHB / CONFIG_CLOCK_APB1_DIV) /* max: 170MHz */ |
#define | CONFIG_CLOCK_APB2_DIV (1) |
#define | CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* max: 170MHz */ |