zephyr/drivers/pwm/Kconfig.nrf5_sw

28 lines
741 B
Plaintext

# Kconfig.nrf5_sw - Nordic Semiconductor nRF5x s/w PWM configuration options
#
#
# Copyright (c) 2017 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PWM_NRF5_SW
bool "Nordic Semiconductor nRF5x series S/W PWM"
default y if !PWM_NRFX
depends on SOC_FAMILY_NRF
help
Enable driver to utilize PWM on the Nordic Semiconductor nRF5x series.
This implementation provides up to 3 pins using one HF timer, two PPI
channels per pin and one GPIOTE config per pin.
if PWM_NRF5_SW
config PWM_NRF5_SW_0_DEV_NAME
string "Nordic Semiconductor nRF5x series S/W PWM Device Name"
default "PWM_0"
help
Specify the device name for the Nordic Semiconductor nRF5x series S/W
PWM driver.
endif # PWM_NRF5_SW