Loading...
Searching...
No Matches
apb2.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 "ahb.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24#ifndef CONFIG_CLOCK_APB2_DIV
25# define CONFIG_CLOCK_APB2_DIV 2
26#endif
27
31#define CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV)
32
33#ifdef __cplusplus
34}
35#endif
36
AHB clock configuration for STM32H7.