1What: /sys/bus/counter/devices/counterX/signalY/cable_fault 2KernelVersion: 5.7 3Contact: linux-iio@vger.kernel.org 4Description: 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. 10 11What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable 12KernelVersion: 5.7 13Contact: linux-iio@vger.kernel.org 14Description: 15 Whether detection of differential encoder cable faults for the 16 respective channel of Signal Y is enabled. Valid attribute 17 values are boolean. 18 19What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler 20KernelVersion: 5.7 21Contact: linux-iio@vger.kernel.org 22Description: 23 Filter clock factor for input Signal Y. This prescaler value 24 affects the inputs of both quadrature pair signals. 25 26What: /sys/bus/counter/devices/counterX/signalY/index_polarity 27KernelVersion: 5.2 28Contact: linux-iio@vger.kernel.org 29Description: 30 Active level of index input Signal Y; irrelevant in 31 non-synchronous load mode. 32 33What: /sys/bus/counter/devices/counterX/signalY/index_polarity_available 34What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available 35KernelVersion: 5.2 36Contact: linux-iio@vger.kernel.org 37Description: 38 Discrete set of available values for the respective Signal Y 39 configuration are listed in this file. 40 41What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode 42KernelVersion: 5.2 43Contact: linux-iio@vger.kernel.org 44Description: 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 48 mode. 49 50 non-synchronous: 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 54 input. 55 56 synchronous: 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. 62