2016-11-24 04:28:28 +08:00
|
|
|
# Kconfig - nRF5 temperature sensor configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 ARM Ltd.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-24 04:28:28 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig TEMP_NRF5
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "nRF5 Temperature Sensor"
|
2018-03-19 20:51:25 +08:00
|
|
|
depends on SOC_FAMILY_NRF
|
2016-11-24 04:28:28 +08:00
|
|
|
help
|
|
|
|
Enable driver for nRF5 temperature sensor.
|
|
|
|
|
2018-09-13 06:23:26 +08:00
|
|
|
if TEMP_NRF5
|
|
|
|
|
2016-11-24 04:28:28 +08:00
|
|
|
config TEMP_NRF5_NAME
|
2018-08-14 22:19:20 +08:00
|
|
|
string "Driver name"
|
2016-11-24 04:28:28 +08:00
|
|
|
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.
|
2018-09-13 06:23:26 +08:00
|
|
|
|
|
|
|
endif # TEMP_NRF5
|