CONFIG_PWM_STM32

STM32 MCU PWM driver

Type: bool

Help

This option enables the PWM driver for STM32 family of processors. Say y if you wish to use PWM port on STM32 MCU.

Direct dependencies

(PWM && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && PWM)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:64

Included via Kconfig:8Kconfig.zephyr:28soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PWM_STM32
    bool
    default y
    depends on PWM && SOC_FAMILY_STM32

At drivers/pwm/Kconfig.stm32:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:40drivers/pwm/Kconfig:42

Menu path: (Top) → Device Drivers → PWM (Pulse Width Modulation) Drivers

menuconfig PWM_STM32
    bool "STM32 MCU PWM driver"
    select USE_STM32_HAL_TIM
    depends on SOC_FAMILY_STM32 && PWM
    help
      This option enables the PWM driver for STM32 family of
      processors. Say y if you wish to use PWM port on STM32
      MCU.

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