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

Core clock configuration for STM32H7. More...

Detailed Description

Core clock configuration for STM32H7.

Author
Joshua DeWeese jdewe.nosp@m.ese@.nosp@m.prime.nosp@m.cont.nosp@m.rols..nosp@m.com

Definition in file coreclock.h.

#include "clk/h7/ahb.h"
#include "clk/h7/sysclk.h"
+ Include dependency graph for coreclock.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define CLOCK_CORE_SRC   MHZ((CLOCK_SYSCLK))
 Core clock source frequency.
 
#define CLOCK_CORECLOCK   CLOCK_CORE_SRC
 Core clock frequency.
 

Macro Definition Documentation

◆ CLOCK_CORE_SRC

#define CLOCK_CORE_SRC   MHZ((CLOCK_SYSCLK))

Core clock source frequency.

This macro defines the frequency of the core clock source before applying any optional divider.

Definition at line 31 of file coreclock.h.

◆ CLOCK_CORECLOCK

#define CLOCK_CORECLOCK   CLOCK_CORE_SRC

Core clock frequency.

If CONFIG_CLOCK_CORECLOCK_DIV is defined, the core clock frequency is divided accordingly.

Definition at line 42 of file coreclock.h.