Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stm32l4plus_clock.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 STMicroelectronics
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32L4PLUS_CLOCK_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32L4PLUS_CLOCK_H_
8
9
#include <
zephyr/dt-bindings/clock/stm32l4_clock.h
>
10
12
13
/*
14
* On STM32L4+ series, the SAI1 / SAI2 input clock selection fields
15
* are located within the CCIPR2 register instead of the CCIPR register
16
*/
17
#undef SAI1_SEL(val)
18
#undef SAI2_SEL(val)
19
21
#define SAI1_SEL(val) STM32_DT_CLOCK_SELECT((val), 7, 5, CCIPR2_REG)
22
#define SAI2_SEL(val) STM32_DT_CLOCK_SELECT((val), 10, 8, CCIPR2_REG)
23
25
26
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32L4PLUS_CLOCK_H_ */
stm32l4_clock.h
include
zephyr
dt-bindings
clock
stm32l4plus_clock.h
Generated on
for Zephyr Project API by
1.16.1