The latest development version of this page may be more current than this released 1.14.1 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 && SOC_FAMILY_STM32 && CLOCK_CONTROL

(Includes any dependencies from if’s and menus.)

Kconfig definition

At drivers/clock_control/Kconfig.stm32:445

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:52drivers/clock_control/Kconfig:30

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

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

(Definitions include propagated dependencies, including from if’s and menus.)