1# Copyright (c) 2024, Adrien Leravat
2# SPDX-License-Identifier: Apache-2.0
3
4description: HC-SR04 ultrasound sensor.
5
6compatible: "hc-sr04"
7
8include: sensor-device.yaml
9
10properties:
11  trigger-gpios:
12    type: phandle-array
13    required: true
14    description: |
15      Output pin used to trigger the distance measurement.
16  echo-gpios:
17    type: phandle-array
18    required: true
19    description: |
20      Input pin. The pulse received on this pin corresponds to
21      the duration between the ultrasonic pulse emission and
22      the reception of its "echo".
23