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