zephyr/drivers/sensor/tmp112/Kconfig
Guillaume Lager 4c986a266f drivers: sensor: tmp112: Add default device initialization
This allow to have a smaller driver footprint when a single
configuration is required.

Signed-off-by: Guillaume Lager <g.lager@innoseis.com>
2021-11-23 13:12:39 +01:00

29 lines
851 B
Plaintext

# TMP112 temperature sensor configuration options
# Copyright (c) 2016 Firmwave
# SPDX-License-Identifier: Apache-2.0
config TMP112
bool "TMP112 Temperature Sensor"
depends on I2C
help
Enable the driver for Texas Instruments TMP112 High-Accuracy Digital
Temperature Sensors.
The TMP102 is compatible with the TMP112 but is less accurate and has
been successfully tested with this driver.
config TMP112_FULL_SCALE_RUNTIME
bool "Allow to set extended mode at runtime"
default y
help
When set extended mode can be selected using tmp112_attr_set
with SENSOR_ATTR_FULL_SCALE and value to set either 128 or 150
config TMP112_SAMPLING_FREQUENCY_RUNTIME
bool "Allow to set conversion rate at runtime"
default y
help
When set conversion rate can be set at runtime using sensor_attr_set
with SENSOR_ATTR_SAMPLING_FREQUENCY