zephyr,tach-gpio

Description

These nodes are “tach” bus nodes.

Tachometer sensor using GPIO.

This tachometer sensor uses GPIO interrupts to measure the duration of one
pulse to calculate the RPM.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gpios

phandle-array

GPIO used to measure pulses.

timeout-ms

int

Milliseconds to wait for a complete pulse.
Default is 1 s. This allows reading down to about 120 RPM (not 60
because the measurement might start right after a pulse start).

Default value: 1000