1# TMP112 temperature sensor configuration options 2 3# Copyright (c) 2016 Firmwave 4# SPDX-License-Identifier: Apache-2.0 5 6config TMP112 7 bool "TMP112 Temperature Sensor" 8 default y 9 depends on DT_HAS_TI_TMP112_ENABLED 10 select I2C 11 help 12 Enable the driver for Texas Instruments TMP112 High-Accuracy Digital 13 Temperature Sensors. 14 15 The TMP102 is compatible with the TMP112 but is less accurate and has 16 been successfully tested with this driver. 17 18if TMP112 19 20config TMP112_FULL_SCALE_RUNTIME 21 bool "Allow to set extended mode at runtime" 22 default y 23 help 24 When set extended mode can be selected using tmp112_attr_set 25 with SENSOR_ATTR_FULL_SCALE and value to set either 128 or 150 26 27config TMP112_SAMPLING_FREQUENCY_RUNTIME 28 bool "Allow to set conversion rate at runtime" 29 default y 30 help 31 When set conversion rate can be set at runtime using sensor_attr_set 32 with SENSOR_ATTR_SAMPLING_FREQUENCY 33 34endif # TMP112 35