-
CONFIG_CLOCK_STM32_APB2_PRESCALER
¶
APB2 prescaler
Type: int
Help¶
APB2 High speed clock (PCLK2) prescaler, allowed values: 1, 2, 4, 8, 16
Direct dependencies¶
SOC_SERIES_STM32F0X
!= “y” && CLOCK_CONTROL_STM32_CUBE
&& SOC_FAMILY_STM32
&& CLOCK_CONTROL
(Includes any dependencies from if’s and menus.)
Defaults¶
- 1 if
SOC_SERIES_STM32F0X
!= “y” &&CLOCK_CONTROL_STM32_CUBE
&&SOC_FAMILY_STM32
&&CLOCK_CONTROL
Kconfig definition¶
At drivers/clock_control/Kconfig.stm32:400
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:52
→ drivers/clock_control/Kconfig:30
Menu path: (top menu) → Device Drivers → Hardware clock controller support → STM32 Reset & Clock Control
config CLOCK_STM32_APB2_PRESCALER int prompt "APB2 prescaler" ifSOC_SERIES_STM32F0X
!= "y" &&CLOCK_CONTROL_STM32_CUBE
&&SOC_FAMILY_STM32
&&CLOCK_CONTROL
range 1 16 ifSOC_SERIES_STM32F0X
!= "y" &&CLOCK_CONTROL_STM32_CUBE
&&SOC_FAMILY_STM32
&&CLOCK_CONTROL
default 1 ifSOC_SERIES_STM32F0X
!= "y" &&CLOCK_CONTROL_STM32_CUBE
&&SOC_FAMILY_STM32
&&CLOCK_CONTROL
depends onSOC_SERIES_STM32F0X
!= "y" &&CLOCK_CONTROL_STM32_CUBE
&&SOC_FAMILY_STM32
&&CLOCK_CONTROL
help APB2 High speed clock (PCLK2) prescaler, allowed values: 1, 2, 4, 8, 16
(Definitions include propagated dependencies, including from if’s and menus.)