sysfs-bus-iio-health-afe440x 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
  2. Date: May 2016
  3. KernelVersion:
  4. Contact: Andrew F. Davis <afd@ti.com>
  5. Description:
  6. Get measured values from the ADC for these stages. Y is the
  7. specific stage number corresponding to datasheet stage names
  8. as follows:
  9. 1 -> LED2
  10. 2 -> ALED2/LED3
  11. 3 -> LED1
  12. 4 -> ALED1/LED4
  13. Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
  14. respectively which simply helper channels containing the
  15. calculated difference in the value of stage 1 - 2 and 3 - 4.
  16. The values are expressed in 24-bit twos complement.
  17. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
  18. Date: May 2016
  19. KernelVersion:
  20. Contact: Andrew F. Davis <afd@ti.com>
  21. Description:
  22. Get and set the offset cancellation DAC setting for these
  23. stages. The values are expressed in 5-bit sign-magnitude.
  24. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
  25. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
  26. Date: May 2016
  27. KernelVersion:
  28. Contact: Andrew F. Davis <afd@ti.com>
  29. Description:
  30. Get and set the resistance and the capacitance settings for the
  31. Transimpedance Amplifier during the associated stage.
  32. What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
  33. Date: May 2016
  34. KernelVersion:
  35. Contact: Andrew F. Davis <afd@ti.com>
  36. Description:
  37. Get and set the LED current for the specified LED active during
  38. this stage. Y is the specific stage number.