Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
coreclock.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2024 Prime Controls, Inc.(R)
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "
clk/h7/ahb.h
"
19
#include "
clk/h7/sysclk.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
31
#define CLOCK_CORE_SRC MHZ((CLOCK_SYSCLK))
32
39
#if defined(CONFIG_CLOCK_CORECLOCK_DIV)
40
# define CLOCK_CORECLOCK (CLOCK_CORE_SRC / CONFIG_CLOCK_CORECLOCK_DIV)
41
#else
42
# define CLOCK_CORECLOCK CLOCK_CORE_SRC
43
#endif
44
45
#ifdef __cplusplus
46
}
47
#endif
48
ahb.h
AHB clock configuration for STM32H7.
sysclk.h
System clock configuration for STM32H7.
Generated on Thu Feb 26 2026 19:45:48 by
1.13.2