Loading...
Searching...
No Matches
cfg_clock_default_84.h File Reference

Default STM32F4 clock configuration for 84MHz boards. More...

Detailed Description

#include "kernel_defines.h"
#include "macros/units.h"
+ Include dependency graph for cfg_clock_default_84.h:

Go to the source code of this file.

Clock PLL settings (84MHz)

#define CONFIG_CLOCK_PLL_M   (4)
 
#define CONFIG_CLOCK_PLL_N   (84)
 
#define CONFIG_CLOCK_PLL_P   (4)
 
#define CONFIG_CLOCK_PLL_Q   (7)
 
#define CONFIG_CLOCK_PLL_R   (0)
 

Clock bus settings (APB1 and APB2)

#define CONFIG_CLOCK_APB1_DIV   (2) /* max 42MHz */
 
#define CONFIG_CLOCK_APB2_DIV   (1) /* max 84MHz */
 

Macro Definition Documentation

◆ CONFIG_CLOCK_APB1_DIV

#define CONFIG_CLOCK_APB1_DIV   (2) /* max 42MHz */

Definition at line 71 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_APB2_DIV

#define CONFIG_CLOCK_APB2_DIV   (1) /* max 84MHz */

Definition at line 74 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_PLL_M

#define CONFIG_CLOCK_PLL_M   (4)

Definition at line 43 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_PLL_N

#define CONFIG_CLOCK_PLL_N   (84)

Definition at line 52 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_PLL_P

#define CONFIG_CLOCK_PLL_P   (4)

Definition at line 56 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_PLL_Q

#define CONFIG_CLOCK_PLL_Q   (7)

Definition at line 59 of file cfg_clock_default_84.h.

◆ CONFIG_CLOCK_PLL_R

#define CONFIG_CLOCK_PLL_R   (0)

Definition at line 62 of file cfg_clock_default_84.h.