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

CONFIG_PWM_NPCX

Nuvoton NPCX embedded controller (EC) PWM driver

Type: bool

Help

Enable support for NPCX PWM driver.

Help

Enable support for NPCX PWM driver. In NPCX9 series, it includes 8
modules. Each module generates a single 16-bit PWM output. A 16-bit
clock prescaler and a 16-bit counter determine the cycle time, the
minimum possible pulse width and the duty cycle steps.

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) || (PWM && SOC_SERIES_NPCX9) || (SOC_FAMILY_NPCX && PWM)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:27soc/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 soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:44

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config PWM_NPCX
    bool
    default y
    depends on PWM && SOC_SERIES_NPCX9
    help
      Enable support for NPCX PWM driver. In NPCX9 series, it includes 8
      modules. Each module generates a single 16-bit PWM output. A 16-bit
      clock prescaler and a 16-bit counter determine the cycle time, the
      minimum possible pulse width and the duty cycle steps.

At drivers/pwm/Kconfig.npcx:6

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:46drivers/pwm/Kconfig:64

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.)