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

CONFIG_CLOCK_STM32_AHB_PRESCALER

AHB prescaler

Type: int

Help

AHB prescaler, allowed values: 1, 2, 4, 8, 16, 64, 128,
256, 512.

Direct dependencies

!SOC_SERIES_STM32WBX && !SOC_SERIES_STM32WLX && !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:163

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:56drivers/clock_control/Kconfig:25

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

config CLOCK_STM32_AHB_PRESCALER
    int "AHB prescaler"
    range 1 512
    default 1
    depends on !SOC_SERIES_STM32WBX && !SOC_SERIES_STM32WLX && !SOC_SERIES_STM32H7X && !CLOCK_CONTROL_STM32_HAS_DTS && !SOC_SERIES_STM32MP1X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      AHB prescaler, allowed values: 1, 2, 4, 8, 16, 64, 128,
      256, 512.

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