sysfs-bus-counter-104-quad-8 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. What: /sys/bus/counter/devices/counterX/signalY/cable_fault
  2. KernelVersion: 5.7
  3. Contact: linux-iio@vger.kernel.org
  4. Description:
  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. What: /sys/bus/counter/devices/counterX/signalY/cable_fault_enable
  11. KernelVersion: 5.7
  12. Contact: linux-iio@vger.kernel.org
  13. Description:
  14. Whether detection of differential encoder cable faults for the
  15. respective channel of Signal Y is enabled. Valid attribute
  16. values are boolean.
  17. What: /sys/bus/counter/devices/counterX/signalY/filter_clock_prescaler
  18. KernelVersion: 5.7
  19. Contact: linux-iio@vger.kernel.org
  20. Description:
  21. Filter clock factor for input Signal Y. This prescaler value
  22. affects the inputs of both quadrature pair signals.
  23. What: /sys/bus/counter/devices/counterX/signalY/index_polarity
  24. KernelVersion: 5.2
  25. Contact: linux-iio@vger.kernel.org
  26. Description:
  27. Active level of index input Signal Y; irrelevant in
  28. non-synchronous load mode.
  29. What: /sys/bus/counter/devices/counterX/signalY/index_polarity_available
  30. What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available
  31. KernelVersion: 5.2
  32. Contact: linux-iio@vger.kernel.org
  33. Description:
  34. Discrete set of available values for the respective Signal Y
  35. configuration are listed in this file.
  36. What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode
  37. KernelVersion: 5.2
  38. Contact: linux-iio@vger.kernel.org
  39. Description:
  40. Configure the counter associated with Signal Y for
  41. non-synchronous or synchronous load mode. Synchronous load mode
  42. cannot be selected in non-quadrature (Pulse-Direction) clock
  43. mode.
  44. non-synchronous:
  45. A logic low level is the active level at this index
  46. input. The index function (as enabled via preset_enable)
  47. is performed directly on the active level of the index
  48. input.
  49. synchronous:
  50. Intended for interfacing with encoder Index output in
  51. quadrature clock mode. The active level is configured
  52. via index_polarity. The index function (as enabled via
  53. preset_enable) is performed synchronously with the
  54. quadrature clock on the active level of the index input.