zephyr/dts/bindings/sensor/espressif,esp32-temp.yaml
Marcio Ribeiro 76c4187bb0 drivers: sensor: esp32s3 internal temperature sensor
Support for esp32s3 internal temperature sensor on Zephyr

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2023-12-04 14:32:09 +01:00

25 lines
891 B
YAML

# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
description: ESP32 family temperature sensor node
compatible: "espressif,esp32-temp"
include: sensor-device.yaml
properties:
range:
type: int
description: |
The temperature sensor is available on the ESP32-S2, ESP32-S3, ESP32-C3.
Note that it is unavailable on the ESP32 due to missing offset calibration.
Temperature range is defined by the temperature offset which is used during
calculation of the output temperature from the measured value.
default: 2
enum:
- 0 # measure range: 50°C ~ 125°C, error < 3°C
- 1 # measure range: 20°C ~ 100°C, error < 2°C
- 2 # measure range:-10°C ~ 80°C, error < 1°C
- 3 # measure range:-30°C ~ 50°C, error < 2°C
- 4 # measure range:-40°C ~ 20°C, error < 3°C