Default clock configuration for STM32F0/F1/F3. More...
Default clock configuration for STM32F0/F1/F3.
Definition in file cfg_clock_default.h.
Go to the source code of this file.
F0/F1/F3 clock settings | |
#define | CONFIG_CLOCK_PLL_PREDIV (1) |
#define | CONFIG_CLOCK_PLL_MUL (9) |
#define | CLOCK_AHB CLOCK_CORECLOCK /* HCLK, max: 48MHz (F0), 72MHz (F1/F3)*/ |
#define | CONFIG_CLOCK_APB1_DIV (2) |
#define | CLOCK_APB1 (CLOCK_AHB / CONFIG_CLOCK_APB1_DIV) /* PCLK1, max: 48MHz (F0), 36MHz (F1/F3)*/ |
#define | CONFIG_CLOCK_APB2_DIV (1) |
#define | CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* PCLK2, max: 72MHz */ |
#define CLOCK_AHB CLOCK_CORECLOCK /* HCLK, max: 48MHz (F0), 72MHz (F1/F3)*/ |
Definition at line 121 of file cfg_clock_default.h.
#define CLOCK_APB1 (CLOCK_AHB / CONFIG_CLOCK_APB1_DIV) /* PCLK1, max: 48MHz (F0), 36MHz (F1/F3)*/ |
Definition at line 130 of file cfg_clock_default.h.
#define CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* PCLK2, max: 72MHz */ |
Definition at line 140 of file cfg_clock_default.h.
#define CONFIG_CLOCK_APB1_DIV (2) |
Definition at line 127 of file cfg_clock_default.h.
#define CONFIG_CLOCK_APB2_DIV (1) |
Definition at line 138 of file cfg_clock_default.h.
#define CONFIG_CLOCK_PLL_MUL (9) |
Definition at line 80 of file cfg_clock_default.h.
#define CONFIG_CLOCK_PLL_PREDIV (1) |
Definition at line 64 of file cfg_clock_default.h.