sysfs-bus-iio-dac-ltc2688 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_en
  2. KernelVersion: 5.18
  3. Contact: [email protected]
  4. Description:
  5. Dither enable. Write 1 to enable dither or 0 to disable it. This is useful
  6. for changing the dither parameters. They way it should be done is:
  7. - disable dither operation;
  8. - change dither parameters (eg: frequency, phase...);
  9. - enabled dither operation
  10. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw
  11. KernelVersion: 5.18
  12. Contact: [email protected]
  13. Description:
  14. This raw, unscaled value refers to the dither signal amplitude.
  15. The same scale as in out_voltageY_raw applies. However, the
  16. offset might be different as it's always 0 for this attribute.
  17. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw_available
  18. KernelVersion: 5.18
  19. Contact: [email protected]
  20. Description:
  21. Available range for dither raw amplitude values.
  22. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_offset
  23. KernelVersion: 5.18
  24. Contact: [email protected]
  25. Description:
  26. Offset applied to out_voltageY_dither_raw. Read only attribute
  27. always set to 0.
  28. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency
  29. KernelVersion: 5.18
  30. Contact: [email protected]
  31. Description:
  32. Sets the dither signal frequency. Units are in Hz.
  33. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency_available
  34. KernelVersion: 5.18
  35. Contact: [email protected]
  36. Description:
  37. Returns the available values for the dither frequency.
  38. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase
  39. KernelVersion: 5.18
  40. Contact: [email protected]
  41. Description:
  42. Sets the dither signal phase. Units are in Radians.
  43. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase_available
  44. KernelVersion: 5.18
  45. Contact: [email protected]
  46. Description:
  47. Returns the available values for the dither phase.
  48. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
  49. KernelVersion: 5.18
  50. Contact: [email protected]
  51. Description:
  52. Toggle enable. Write 1 to enable toggle or 0 to disable it. This is
  53. useful when one wants to change the DAC output codes. The way it should
  54. be done is:
  55. - disable toggle operation;
  56. - change out_voltageY_raw0 and out_voltageY_raw1;
  57. - enable toggle operation.
  58. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw0
  59. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw1
  60. KernelVersion: 5.18
  61. Contact: [email protected]
  62. Description:
  63. It has the same meaning as out_voltageY_raw. This attribute is
  64. specific to toggle enabled channels and refers to the DAC output
  65. code in INPUT_A (_raw0) and INPUT_B (_raw1). The same scale and offset
  66. as in out_voltageY_raw applies.
  67. What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
  68. KernelVersion: 5.18
  69. Contact: [email protected]
  70. Description:
  71. Performs a SW toggle. This attribute is specific to toggle
  72. enabled channels and allows to toggle between out_voltageY_raw0
  73. and out_voltageY_raw1 through software. Writing 0 will select
  74. out_voltageY_raw0 while 1 selects out_voltageY_raw1.