TI tmp1075 driver implemented based on tmp108 driver. The driver initializes the sensor based on the DTS. Added tmp1075 example overlay file to thermometer sample. All you need to do to use the sensor is to connect the I2C and optionally interrupt line. To see default DTS configuration option inspect `ti,tmp1075.yaml` bindings file and sensor spec. Signed-off-by: Paweł Czaplewski <pawel.czaplewski@arrow.com>
25 lines
616 B
Plaintext
25 lines
616 B
Plaintext
# Copyright (c) 2024 Arrow Electronics.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# TMP1075 temperature sensor configuration options
|
|
|
|
menuconfig TMP1075
|
|
bool "TMP1075 Temperature Sensor"
|
|
default y
|
|
depends on DT_HAS_TI_TMP1075_ENABLED
|
|
select I2C
|
|
|
|
help
|
|
Enable the driver for Texas Instruments TMP1075 High-Accuracy Digital
|
|
Temperature Sensors.
|
|
|
|
if TMP1075
|
|
|
|
config TMP1075_ALERT_INTERRUPTS
|
|
bool "Allow interrupts to service over and under temp alerts"
|
|
help
|
|
This will set up interrupts to service under and over temp alerts
|
|
see TMP1075 spec sheet for more information on how these work.
|
|
|
|
endif # TMP1075
|