Loading...
Searching...
No Matches
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)
 

Macro Definition Documentation

◆ CLOCK_AHB

#define CLOCK_AHB   CLOCK_CORECLOCK

Definition at line 77 of file cfg_clock_default.h.

◆ CLOCK_APB1

#define CLOCK_APB1   (CLOCK_CORECLOCK / CONFIG_CLOCK_APB1_DIV)

Definition at line 78 of file cfg_clock_default.h.

◆ CLOCK_APB2

#define CLOCK_APB2   (CLOCK_CORECLOCK / CONFIG_CLOCK_APB2_DIV)

Definition at line 79 of file cfg_clock_default.h.

◆ CLOCK_PLL_SRC

#define CLOCK_PLL_SRC   (CONFIG_CLOCK_HSI)

Definition at line 59 of file cfg_clock_default.h.

◆ CLOCK_PLLQ

#define CLOCK_PLLQ   (((CLOCK_PLL_SRC / CONFIG_CLOCK_PLL_M) * CONFIG_CLOCK_PLL_N) / CONFIG_CLOCK_PLL_Q)

Definition at line 75 of file cfg_clock_default.h.