zephyr/dts/bindings/sensor/ti,tmp112.yaml
Corey Wharton 3aebc9d258 drivers: sensor: tmp112: add support for setting ALERT thresholds
Allows setting tLow/tHigh threasholds via the SENSOR_ATTR_LOWER_THRESH/
SENSOR_ATTR_UPPER_THRESH attributes.

Signed-off-by: Corey Wharton <xodus7@cwharton.com>
2025-03-31 08:07:12 +02:00

40 lines
926 B
YAML

# Copyright (c) 2019, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: |
TMP112 Digital Temperature Sensor. See more info at
https://www.ti.com/product/TMP112
compatible: "ti,tmp112"
include: [sensor-device.yaml, i2c-device.yaml]
properties:
conversion-rate:
description: Conversion rate in mHz (milli-Hertz)
type: int
default: 4000
enum:
- 250
- 1000
- 4000
- 8000
extended-mode:
description: When true use 13-bit data format allowing measuring temperature up to 150°C
type: boolean
t-low-micro-c:
description: |
Sets the default tLow threshold in micro-Celsius. The default value is the chip reset
value.
type: int
default: 75000000
t-high-micro-c:
description: |
Sets the default tHigh threshold in micro-Celsius. The default value is the chip reset
value.
type: int
default: 85000000