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_HSI_DIVISOR

HSI Divisor

Type: int

Help

HSI Divisor to divide HSI base frequency value
allowed values: 1, 2, 4, 8

Default

  • 1

Kconfig definition

At drivers/clock_control/Kconfig.stm32h7:10

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

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

config CLOCK_STM32_HSI_DIVISOR
    int "HSI Divisor"
    range 1 8
    default 1
    depends on (CLOCK_STM32_PLL_SRC_HSI || CLOCK_STM32_SYSCLK_SRC_HSI) && SOC_SERIES_STM32H7X && !CLOCK_CONTROL_STM32_HAS_DTS && !SOC_SERIES_STM32MP1X && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      HSI Divisor to divide HSI base frequency value
      allowed values: 1, 2, 4, 8

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