zephyr/drivers/sensor/ti
Hank Wang 5379f4a16b drivers: sensor: tmp1075: add support for fractional threshold values
Previously, the TMP1075 driver only used the integer part (val1) of the
sensor_value when setting TLOW and THIGH thresholds. This limited the
precision of temperature threshold configuration and could be insufficient
in applications requiring fine-grained control.

This patch adds proper handling for the fractional part (val2) by encoding
it into bits [7:4] of the 12-bit temperature register according to the
TMP1075 datasheet. The decoding logic in get_threshold_attribute() is also
updated to recover the fractional value accurately.

Signed-off-by: Hank Wang <wanghanchi2000@gmail.com>
2025-05-19 21:54:45 +02:00
..
bq274xx sensor: remove PM state checks from API functions 2025-05-01 18:15:42 +02:00
fdc2x1x sensor: remove PM state checks from API functions 2025-05-01 18:15:42 +02:00
ina23x
ina219
ina226
ina3221
lm95234 sensor: remove PM state checks from API functions 2025-05-01 18:15:42 +02:00
opt3001 drivers: sensor: ti: opt3001: add trigger support 2025-04-07 15:18:21 +02:00
ti_hdc
ti_hdc20xx
tmag5170 sensor: remove PM state checks from API functions 2025-05-01 18:15:42 +02:00
tmag5273
tmp11x drivers: sensor: ti: tmp11x: fix get ambient offset 2025-05-14 11:04:08 +01:00
tmp007
tmp108
tmp112 drivers: sensor: tmp112: add support for setting ALERT thresholds 2025-03-31 08:07:12 +02:00
tmp114
tmp435
tmp1075 drivers: sensor: tmp1075: add support for fractional threshold values 2025-05-19 21:54:45 +02:00
CMakeLists.txt drivers: sensor: rename tmp116 to tmp11x 2025-04-11 16:17:35 +02:00
Kconfig drivers: sensor: rename tmp116 to tmp11x 2025-04-11 16:17:35 +02:00