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

hclk prescaler, D2 domain (CPU2) Clock prescaler

Type: int

Help

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

Defaults

  • 2

  • 2

  • 1

Kconfig definitions

At boards/arm/nucleo_h745zi_q/Kconfig.defconfig:15

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config CLOCK_STM32_HPRE
    int
    default 2
    depends on BOARD_NUCLEO_H745ZI_Q_M7 || BOARD_NUCLEO_H745ZI_Q_M4

At boards/arm/stm32h747i_disco/Kconfig.defconfig:21

Included via Kconfig:8Kconfig.zephyr:18

Menu path: (Top)

config CLOCK_STM32_HPRE
    int
    default 2
    depends on BOARD_STM32H747I_DISCO_M7 || BOARD_STM32H747I_DISCO_M4

At drivers/clock_control/Kconfig.stm32h7:29

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:54drivers/clock_control/Kconfig:25drivers/clock_control/Kconfig.stm32:133

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

config CLOCK_STM32_HPRE
    int "hclk prescaler, D2 domain (CPU2) Clock prescaler"
    range 1 512
    default 1
    depends on SOC_SERIES_STM32H7X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      hclk prescaler, allowed values: 1, 2, 4, 8, 16, 64, 128, 256, 512.

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