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

MCO1 prescaler

Type: int

Help

allowed values: 1, 2, 3, 4, 5

Direct dependencies

!CLOCK_STM32_MCO1_SRC_NOCLOCK && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/clock_control/Kconfig.stm32:235

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

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

config CLOCK_STM32_MCO1_DIV
    int "MCO1 prescaler"
    range 1 5
    default 1
    depends on !CLOCK_STM32_MCO1_SRC_NOCLOCK && CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      allowed values: 1, 2, 3, 4, 5

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