This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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

!SOC_SERIES_STM32H7X && !CLOCK_CONTROL_STM32_HAS_DTS && !SOC_SERIES_STM32MP1X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/clock_control/Kconfig.stm32:172

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:54drivers/clock_control/Kconfig:25

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

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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)