zephyr/drivers/sensor/nrf5/Kconfig

32 lines
599 B
Plaintext

# Kconfig - nRF5 temperature sensor configuration options
#
# Copyright (c) 2016 ARM Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig TEMP_NRF5
bool "nRF5 Temperature Sensor"
depends on SOC_FAMILY_NRF
help
Enable driver for nRF5 temperature sensor.
if TEMP_NRF5
config TEMP_NRF5_NAME
string "Driver name"
default "TEMP_0"
help
Device name with which the nRF5 temperature sensor is identified.
config TEMP_NRF5_PRI
int "TEMP interrupt priority"
range 0 1 if SOC_SERIES_NRF51X
range 0 5 if SOC_SERIES_NRF52X
default 1
help
nRF5X TEMP IRQ priority.
endif # TEMP_NRF5