CONFIG_PWM_NRF5_SW

Nordic Semiconductor nRF5x series S/W PWM

Type: bool

Help

Enable driver to utilize PWM on the Nordic Semiconductor nRF5x series.

When used with HF timer it provides up to 3 pins, utilizing two PPI channels per pin and one GPIOTE config per pin.

When used with RTC it provides up to 3 pins, utilizing three PPI channels per pin and one GPIOTE config per pin.

Direct dependencies

SOC_FAMILY_NRF && PWM

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

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

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

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

config PWM_NRF5_SW
    bool "Nordic Semiconductor nRF5x series S/W PWM"
    default y if !PWM_NRFX
    depends on SOC_FAMILY_NRF && PWM
    help
      Enable driver to utilize PWM on the Nordic Semiconductor nRF5x series.

      When used with HF timer it provides up to 3 pins, utilizing two PPI
      channels per pin and one GPIOTE config per pin.

      When used with RTC it provides up to 3 pins, utilizing three PPI
      channels per pin and one GPIOTE config per pin.

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