Skip to content

Commit 8d6d7ba

Browse files
FRASTMnashif
authored andcommitted
include: bindings: high speed clock for the stm32F1/F4 series
The stm32F4 serie has HSI and HSE clock possible clock sources The stm32F1 also has an external HSE possible clock source Signed-off-by: Francois Ramu <[email protected]>
1 parent 64ce567 commit 8d6d7ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
/* Common clocks with stm32f1x defined in stm32f1_clock.h */
1717
#define STM32_SRC_PLL2CLK (STM32_SRC_PLLCLK + 1)
1818
#define STM32_SRC_PLL3CLK (STM32_SRC_PLL2CLK + 1)
19-
#define STM32_SRC_EXT_HSE (STM32_SRC_PLL3CLK + 1)
2019

2120
/** CFGR1 devices */
2221
#undef MCO1_SEL /* Need to redefine generic F1 MCO_SEL for connectivity line devices. */

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
/* Low speed clocks defined in stm32_common_clocks.h */
2626
#define STM32_SRC_HSI (STM32_SRC_LSI + 1)
2727
#define STM32_SRC_HSE (STM32_SRC_HSI + 1)
28-
#define STM32_SRC_PLLCLK (STM32_SRC_HSE + 1)
28+
#define STM32_SRC_EXT_HSE (STM32_SRC_HSE + 1)
29+
#define STM32_SRC_PLLCLK (STM32_SRC_EXT_HSE + 1)
2930

3031
#define STM32_CLOCK_REG_MASK 0xFFU
3132
#define STM32_CLOCK_REG_SHIFT 0U

0 commit comments

Comments
 (0)