1 What: /sys/bus/counter/devices/counterX/signalY/cable_fault
3 Contact: linux-iio@vger.kernel.org
5 Read-only attribute that indicates whether a differential
6 encoder cable fault (not connected or loose wires) is detected
7 for the respective channel of Signal Y. Valid attribute values
8 are boolean. Detection must first be enabled via the
9 corresponding cable_fault_enable attribute.
11 What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable
13 Contact: linux-iio@vger.kernel.org
15 Whether detection of differential encoder cable faults for the
16 respective channel of Signal Y is enabled. Valid attribute
19 What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler
21 Contact: linux-iio@vger.kernel.org
23 Filter clock factor for input Signal Y. This prescaler value
24 affects the inputs of both quadrature pair signals.
26 What: /sys/bus/counter/devices/counterX/signalY/index_polarity
28 Contact: linux-iio@vger.kernel.org
30 Active level of index input Signal Y; irrelevant in
31 non-synchronous load mode.
33 What: /sys/bus/counter/devices/counterX/signalY/index_polarity_available
34 What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available
36 Contact: linux-iio@vger.kernel.org
38 Discrete set of available values for the respective Signal Y
39 configuration are listed in this file.
41 What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode
43 Contact: linux-iio@vger.kernel.org
45 Configure the counter associated with Signal Y for
46 non-synchronous or synchronous load mode. Synchronous load mode
47 cannot be selected in non-quadrature (Pulse-Direction) clock
51 A logic low level is the active level at this index
52 input. The index function (as enabled via preset_enable)
53 is performed directly on the active level of the index
57 Intended for interfacing with encoder Index output in
58 quadrature clock mode. The active level is configured
59 via index_polarity. The index function (as enabled via
60 preset_enable) is performed synchronously with the
61 quadrature clock on the active level of the index input.