blob: 99cbde976cbe2fbe9843e3289c02a8fa8957398f [file] [log] [blame]
# Kconfig - nRF5 temperature sensor configuration options
#
# Copyright (c) 2016 ARM Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
menuconfig TEMP_NRF5
bool
prompt "nRF5 Temperature Sensor"
depends on SENSOR && SOC_FAMILY_NRF5
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.