18c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/cable_fault 28c2ecf20Sopenharmony_ciKernelVersion: 5.7 38c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 48c2ecf20Sopenharmony_ciDescription: 58c2ecf20Sopenharmony_ci Read-only attribute that indicates whether a differential 68c2ecf20Sopenharmony_ci encoder cable fault (not connected or loose wires) is detected 78c2ecf20Sopenharmony_ci for the respective channel of Signal Y. Valid attribute values 88c2ecf20Sopenharmony_ci are boolean. Detection must first be enabled via the 98c2ecf20Sopenharmony_ci corresponding cable_fault_enable attribute. 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable 128c2ecf20Sopenharmony_ciKernelVersion: 5.7 138c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 148c2ecf20Sopenharmony_ciDescription: 158c2ecf20Sopenharmony_ci Whether detection of differential encoder cable faults for the 168c2ecf20Sopenharmony_ci respective channel of Signal Y is enabled. Valid attribute 178c2ecf20Sopenharmony_ci values are boolean. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler 208c2ecf20Sopenharmony_ciKernelVersion: 5.7 218c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 228c2ecf20Sopenharmony_ciDescription: 238c2ecf20Sopenharmony_ci Filter clock factor for input Signal Y. This prescaler value 248c2ecf20Sopenharmony_ci affects the inputs of both quadrature pair signals. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/index_polarity 278c2ecf20Sopenharmony_ciKernelVersion: 5.2 288c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 298c2ecf20Sopenharmony_ciDescription: 308c2ecf20Sopenharmony_ci Active level of index input Signal Y; irrelevant in 318c2ecf20Sopenharmony_ci non-synchronous load mode. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/index_polarity_available 348c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available 358c2ecf20Sopenharmony_ciKernelVersion: 5.2 368c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 378c2ecf20Sopenharmony_ciDescription: 388c2ecf20Sopenharmony_ci Discrete set of available values for the respective Signal Y 398c2ecf20Sopenharmony_ci configuration are listed in this file. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciWhat: /sys/bus/counter/devices/counterX/signalY/synchronous_mode 428c2ecf20Sopenharmony_ciKernelVersion: 5.2 438c2ecf20Sopenharmony_ciContact: linux-iio@vger.kernel.org 448c2ecf20Sopenharmony_ciDescription: 458c2ecf20Sopenharmony_ci Configure the counter associated with Signal Y for 468c2ecf20Sopenharmony_ci non-synchronous or synchronous load mode. Synchronous load mode 478c2ecf20Sopenharmony_ci cannot be selected in non-quadrature (Pulse-Direction) clock 488c2ecf20Sopenharmony_ci mode. 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci non-synchronous: 518c2ecf20Sopenharmony_ci A logic low level is the active level at this index 528c2ecf20Sopenharmony_ci input. The index function (as enabled via preset_enable) 538c2ecf20Sopenharmony_ci is performed directly on the active level of the index 548c2ecf20Sopenharmony_ci input. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci synchronous: 578c2ecf20Sopenharmony_ci Intended for interfacing with encoder Index output in 588c2ecf20Sopenharmony_ci quadrature clock mode. The active level is configured 598c2ecf20Sopenharmony_ci via index_polarity. The index function (as enabled via 608c2ecf20Sopenharmony_ci preset_enable) is performed synchronously with the 618c2ecf20Sopenharmony_ci quadrature clock on the active level of the index input. 62