Lines Matching +full:track +full:- +full:count
2 # SPDX-License-Identifier: Apache-2.0
10 and samples the two signal lines periodically to track the encoder position,
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "gpio-qdec";
21 steps-per-period = <4>;
23 sample-time-us = <2000>;
24 idle-timeout-ms = <200>;
27 compatible: "gpio-qdec"
33 type: phandle-array
38 led-gpios:
39 type: phandle-array
43 led-pre-us:
46 Time between enabling the led-gpios output pins and reading the encoder
48 phototransistor) time to settle to right state. Required if led-gpios and
49 idle-poll-time-us are specified, can be explicitly set to 0 for no delay.
51 steps-per-period:
55 How many steps to count before reporting an input event.
64 sample-time-us:
71 idle-poll-time-us:
76 specified in led-gpios will be enabled all the time. If non zero, then
77 the driver will poll every idle-poll-time-us microseconds while idle, and
78 only activate led-gpios before sampling the encoder state.
80 idle-timeout-ms: