1# Copyright (c) 2021, Thomas Stranger
2# SPDX-License-Identifier: Apache-2.0
3
4description: Sensirion SHTCx humidity and temperature sensor
5
6compatible: "sensirion,shtcx"
7
8include: i2c-device.yaml
9
10properties:
11  chip:
12    type: string
13    required: true
14    description: |
15      Specifies which chip exactly is used. This is necessary to get exact
16      timing information and supported command set.
17      SHTC3 has an additional sleep mode that is entered between measurements.
18    enum:
19        - "shtc1"
20        - "shtc3"
21
22  measure-mode:
23    type: string
24    required: true
25    description: |
26      Specifies which measurement mode is used.
27      SHTC1 sensor only supports the normal measuremnt mode.
28    enum:
29        - "normal"
30        - "low-power"
31
32  clock-stretching:
33    type: boolean
34    required: false
35    description: |
36      Specifies that the driver should clock stretching i2c communication to
37      read the sensor values.
38