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