The nrfx_gppi module is an abstraction over nrfx_ppi and nrfx_dppi drivers. It now has a Kconfig option that is separate from nrfx_dppi and by default it enables all PPI/DPPI instances, if available. Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
20 lines
677 B
Text
20 lines
677 B
Text
# Nordic Semiconductor nRF5x s/w PWM configuration options
|
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PWM_NRF_SW
|
|
bool "Nordic Semiconductor nRF family S/W PWM"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NRF_SW_PWM_ENABLED
|
|
select NRFX_GPIOTE
|
|
select NRFX_GPPI
|
|
help
|
|
Enable driver to utilize PWM on the Nordic Semiconductor nRF SoCs.
|
|
|
|
When used with HF timer, it provides up to 5 pins, utilizing one
|
|
GPIOTE channel and two PPI/DPPI channels and per pin.
|
|
|
|
When used with RTC, it provides up to 3 pins, utilizing one GPIOTE
|
|
channel and two or three (when the fork feature is not available)
|
|
PPI/DPPI channels per pin.
|