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
|
|
|
|
bool
|
|
|
|
prompt "nRF5 Temperature Sensor"
|
2018-03-19 20:51:25 +08:00
|
|
|
depends on SOC_FAMILY_NRF
|
2016-11-24 04:28:28 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable driver for nRF5 temperature sensor.
|
|
|
|
|
|
|
|
config TEMP_NRF5_NAME
|
|
|
|
string
|
|
|
|
prompt "Driver name"
|
|
|
|
default "TEMP_0"
|
|
|
|
depends on TEMP_NRF5
|
|
|
|
help
|
|
|
|
Device name with which the nRF5 temperature sensor is identified.
|
|
|
|
|
|
|
|
config TEMP_NRF5_PRI
|
|
|
|
int "TEMP interrupt priority"
|
|
|
|
depends on TEMP_NRF5
|
|
|
|
range 0 1 if SOC_SERIES_NRF51X
|
|
|
|
range 0 5 if SOC_SERIES_NRF52X
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
nRF5X TEMP IRQ priority.
|