Skip to content

Commit a63e880

Browse files
FRASTMcarlescufi
authored andcommitted
include: clock: stm32f4 high speed clock definition
Add the HSI and HSE clock source for the stm32f4 serie Signed-off-by: Francois Ramu <[email protected]>
1 parent 63dd369 commit a63e880

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/zephyr/dt-bindings/clock/stm32f4_clock.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
/* defined in stm32_common_clocks.h */
2929
/** Fixed clocks */
3030
/* Low speed clocks defined in stm32_common_clocks.h */
31+
#define STM32_SRC_HSI (STM32_SRC_LSI + 1)
32+
#define STM32_SRC_HSE (STM32_SRC_HSI + 1)
3133
/** PLL clock outputs */
32-
#define STM32_SRC_PLL_P (STM32_SRC_LSI + 1)
34+
#define STM32_SRC_PLL_P (STM32_SRC_HSE + 1)
3335
#define STM32_SRC_PLL_Q (STM32_SRC_PLL_P + 1)
3436
#define STM32_SRC_PLL_R (STM32_SRC_PLL_Q + 1)
3537
/** I2S sources */

0 commit comments

Comments
 (0)