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

HAS_HW_NRF_PPI && PWM

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:46<Zephyr>/drivers/pwm/Kconfig:36

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
    select NRFX_GPIOTE
    select NRFX_PPI
    depends on HAS_HW_NRF_PPI && 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.)