2019-11-01 20:45:29 +08:00
|
|
|
# Nordic Semiconductor nRF5x s/w PWM configuration options
|
|
|
|
|
2017-04-11 11:08:52 +08:00
|
|
|
# Copyright (c) 2017 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-10-22 07:04:04 +08:00
|
|
|
config PWM_NRF5_SW
|
2017-04-11 11:08:52 +08:00
|
|
|
bool "Nordic Semiconductor nRF5x series S/W PWM"
|
2019-02-05 20:12:43 +08:00
|
|
|
default y if !PWM_NRFX
|
2022-07-22 05:13:45 +08:00
|
|
|
depends on DT_HAS_NORDIC_NRF_SW_PWM_ENABLED
|
|
|
|
depends on DT_HAS_NORDIC_NRF_PPI_ENABLED
|
2021-11-24 15:05:05 +08:00
|
|
|
select NRFX_GPIOTE
|
|
|
|
select NRFX_PPI
|
2017-04-11 11:08:52 +08:00
|
|
|
help
|
|
|
|
Enable driver to utilize PWM on the Nordic Semiconductor nRF5x series.
|
2020-10-10 04:15:34 +08:00
|
|
|
|
|
|
|
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
|
2017-04-11 11:08:52 +08:00
|
|
|
channels per pin and one GPIOTE config per pin.
|