d4e9e5f46c
Added sample for the WSEN-TIDS temperature sensor. Signed-off-by: Matthias Hauser <Matthias.Hauser@we-online.de>
38 lines
849 B
YAML
38 lines
849 B
YAML
# Copyright (c) 2022 Würth Elektronik eiSos GmbH & Co. KG
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
Würth Elektronik WSEN-TIDS temperature sensor
|
|
|
|
compatible: "we,wsen-tids"
|
|
|
|
include: [sensor-device.yaml, i2c-device.yaml]
|
|
|
|
properties:
|
|
int-gpios:
|
|
type: phandle-array
|
|
description: Threshold interrupt pin.
|
|
Interrupt is active low by default.
|
|
|
|
odr:
|
|
type: int
|
|
required: true
|
|
enum:
|
|
- 25
|
|
- 50
|
|
- 100
|
|
- 200
|
|
description: |
|
|
Sensor output data rate expressed in samples per second.
|
|
Data rates supported by the chip are 25, 50, 100 and 200.
|
|
|
|
temp-high-threshold:
|
|
type: int
|
|
description: |
|
|
Threshold for temperature high limit interrupt event.
|
|
|
|
temp-low-threshold:
|
|
type: int
|
|
description: |
|
|
Threshold for temperature low limit interrupt event.
|