sysfs-bus-iio-light-lm3533-als 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. What: /sys/.../events/in_illuminance0_thresh_either_en
  2. Date: April 2012
  3. KernelVersion: 3.5
  4. Contact: Johan Hovold <jhovold@gmail.com>
  5. Description:
  6. Event generated when channel passes one of the four thresholds
  7. in each direction (rising|falling) and a zone change occurs.
  8. The corresponding light zone can be read from
  9. in_illuminance0_zone.
  10. What: /sys/.../events/in_illuminance0_threshY_hysteresis
  11. Date: May 2012
  12. KernelVersion: 3.5
  13. Contact: Johan Hovold <jhovold@gmail.com>
  14. Description:
  15. Get the hysteresis for thresholds Y, that is,
  16. threshY_hysteresis = threshY_raising - threshY_falling
  17. What: /sys/.../events/illuminance_threshY_falling_value
  18. What: /sys/.../events/illuminance_threshY_raising_value
  19. Date: April 2012
  20. KernelVersion: 3.5
  21. Contact: Johan Hovold <jhovold@gmail.com>
  22. Description:
  23. Specifies the value of threshold that the device is comparing
  24. against for the events enabled by
  25. in_illuminance0_thresh_either_en (0..255), where Y in 0..3.
  26. Note that threshY_falling must be less than or equal to
  27. threshY_raising.
  28. These thresholds correspond to the eight zone-boundary
  29. registers (boundaryY_{low,high}) and define the five light
  30. zones.
  31. What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone
  32. Date: April 2012
  33. KernelVersion: 3.5
  34. Contact: Johan Hovold <jhovold@gmail.com>
  35. Description:
  36. Get the current light zone (0..4) as defined by the
  37. in_illuminance0_threshY_{falling,rising} thresholds.
  38. What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
  39. Date: May 2012
  40. KernelVersion: 3.5
  41. Contact: Johan Hovold <jhovold@gmail.com>
  42. Description:
  43. Get output current for channel Y (0..255), that is,
  44. out_currentY_currentZ_raw, where Z is the current zone.
  45. What: /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw
  46. Date: May 2012
  47. KernelVersion: 3.5
  48. Contact: Johan Hovold <jhovold@gmail.com>
  49. Description:
  50. Set the output current for channel out_currentY when in zone
  51. Z (0..255), where Y in 0..2 and Z in 0..4.
  52. These values correspond to the ALS-mapper target registers for
  53. ALS-mapper Y + 1.