The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_CLOCK_STM32_APB1_PRESCALER

APB1 prescaler

Type: int

Help

APB1 Low speed clock (PCLK1) prescaler, allowed values: 1, 2, 4, 8, 16

Direct dependencies

CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL

(Includes any dependencies from if’s and menus.)

Kconfig definition

At drivers/clock_control/Kconfig.stm32:390

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:52drivers/clock_control/Kconfig:30

Menu path: (top menu) → Device Drivers → Hardware clock controller support → STM32 Reset & Clock Control

config CLOCK_STM32_APB1_PRESCALER
    int
    prompt "APB1 prescaler" if CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    range 1 16 if CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    default 1 if CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    depends on CLOCK_CONTROL_STM32_CUBE && SOC_FAMILY_STM32 && CLOCK_CONTROL
    help
      APB1 Low speed clock (PCLK1) prescaler, allowed values:
      1, 2, 4, 8, 16

(Definitions include propagated dependencies, including from if’s and menus.)