cfg_clock_default.h File Reference

Main header for STM32F2/F4/F7 clock configuration. More...

Detailed Description

Main header for STM32F2/F4/F7 clock configuration.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file cfg_clock_default.h.

+ Include dependency graph for cfg_clock_default.h:

Go to the source code of this file.

Clock values

#define CLOCK_PLL_SRC   (CONFIG_CLOCK_HSI)
 
#define CLOCK_PLLQ   (((CLOCK_PLL_SRC / CONFIG_CLOCK_PLL_M) * CONFIG_CLOCK_PLL_N) / CONFIG_CLOCK_PLL_Q)
 
#define CLOCK_AHB   CLOCK_CORECLOCK
 
#define CLOCK_APB1   (CLOCK_CORECLOCK / CONFIG_CLOCK_APB1_DIV)
 
#define CLOCK_APB2   (CLOCK_CORECLOCK / CONFIG_CLOCK_APB2_DIV)