CONFIG_PWM_NPCX

Nuvoton NPCX embedded controller (EC) PWM driver

Type: bool

Help

Enable support for NPCX PWM driver.

Help

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

Direct dependencies

(PWM && SOC_SERIES_NPCX7) || (SOC_FAMILY_NPCX && PWM)

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At <Zephyr>/soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:37

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config PWM_NPCX
    bool
    default y
    depends on PWM && SOC_SERIES_NPCX7
    help
      Enable support for NPCX PWM driver.

At <Zephyr>/drivers/pwm/Kconfig.npcx:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:44<Zephyr>/drivers/pwm/Kconfig:58

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

config PWM_NPCX
    bool "Nuvoton NPCX embedded controller (EC) PWM driver"
    depends on SOC_FAMILY_NPCX && PWM
    help
      This option enables the PWM driver for NPCX family of
      processors.
      Say y if you wish to use pwm ports on NPCX MCU.

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