Zephyr Project API  3.2.0
A Scalable Open Source RTOS
stm32f4_clock.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32F4_CLOCK_H_
7#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32F4_CLOCK_H_
8
12#define STM32_CLOCK_BUS_AHB1 0x030
13#define STM32_CLOCK_BUS_AHB2 0x034
14#define STM32_CLOCK_BUS_AHB3 0x038
15#define STM32_CLOCK_BUS_APB1 0x040
16#define STM32_CLOCK_BUS_APB2 0x044
17#define STM32_CLOCK_BUS_APB3 0x0A8
18
19#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1
20#define STM32_PERIPH_BUS_MAX STM32_CLOCK_BUS_APB3
21
23/* RM0386, 0390, 0402, 0430 ยง Dedicated Clock configuration register (RCC_DCKCFGRx) */
24
26#define STM32_SRC_PLL_P 0x001
27#define STM32_SRC_PLL_Q 0x002
28#define STM32_SRC_PLL_R 0x003
29
30#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32F4_CLOCK_H_ */