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¶
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
) || (PWM
&& SOC_SERIES_NPCX7
) || (PWM
&& SOC_SERIES_NPCX9
) || (SOC_FAMILY_NPCX
&& PWM
)
(Includes any dependencies from ifs and menus.)
Defaults¶
y
y
y
y
Kconfig definitions¶
At <Zephyr>/soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:37
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:25
→ <nRF>/doc/_build/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>/soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:44
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:25
→ <nRF>/doc/_build/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_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 <Zephyr>/soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:37
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:27
→ <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>/soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:44
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:27
→ <Zephyr>/soc/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 <Zephyr>/drivers/pwm/Kconfig.npcx:6
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:40
→ <Zephyr>/drivers/Kconfig:44
→ <Zephyr>/drivers/pwm/Kconfig:60
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.)