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