blob: 46b1f33b2fcef71a7312a142462dad0a9165033a [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001What: /sys/bus/counter/devices/counterX/signalY/index_polarity
2KernelVersion: 5.2
3Contact: linux-iio@vger.kernel.org
4Description:
5 Active level of index input Signal Y; irrelevant in
6 non-synchronous load mode.
7
8What: /sys/bus/counter/devices/counterX/signalY/index_polarity_available
9What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available
10KernelVersion: 5.2
11Contact: linux-iio@vger.kernel.org
12Description:
13 Discrete set of available values for the respective Signal Y
14 configuration are listed in this file.
15
16What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode
17KernelVersion: 5.2
18Contact: linux-iio@vger.kernel.org
19Description:
20 Configure the counter associated with Signal Y for
21 non-synchronous or synchronous load mode. Synchronous load mode
22 cannot be selected in non-quadrature (Pulse-Direction) clock
23 mode.
24
25 non-synchronous:
26 A logic low level is the active level at this index
27 input. The index function (as enabled via preset_enable)
28 is performed directly on the active level of the index
29 input.
30
31 synchronous:
32 Intended for interfacing with encoder Index output in
33 quadrature clock mode. The active level is configured
34 via index_polarity. The index function (as enabled via
35 preset_enable) is performed synchronously with the
36 quadrature clock on the active level of the index input.