sysfs-bus-iio-health-afe440x 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
  2. Date: May 2016
  3. KernelVersion:
  4. Contact: Andrew F. Davis <[email protected]>
  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. == ==========
  10. 1 LED2
  11. 2 ALED2/LED3
  12. 3 LED1
  13. 4 ALED1/LED4
  14. == ==========
  15. Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
  16. respectively which simply helper channels containing the
  17. calculated difference in the value of stage 1 - 2 and 3 - 4.
  18. The values are expressed in 24-bit twos complement.
  19. The LED current for the stage is controlled via
  20. out_currentY_raw.
  21. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
  22. Date: May 2016
  23. KernelVersion:
  24. Contact: Andrew F. Davis <[email protected]>
  25. Description:
  26. Get and set the offset cancellation DAC setting for these
  27. stages. The values are expressed in 5-bit sign-magnitude.
  28. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
  29. What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
  30. Date: May 2016
  31. KernelVersion:
  32. Contact: Andrew F. Davis <[email protected]>
  33. Description:
  34. Get and set the resistance and the capacitance settings for the
  35. Transimpedance Amplifier during the associated stage.