Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/.../events/in_illuminance0_thresh_either_en
0002 Date:           April 2012
0003 KernelVersion:  3.5
0004 Contact:        Johan Hovold <jhovold@gmail.com>
0005 Description:
0006                 Event generated when channel passes one of the four thresholds
0007                 in each direction (rising|falling) and a zone change occurs.
0008                 The corresponding light zone can be read from
0009                 in_illuminance0_zone.
0010 
0011 What:           /sys/.../events/in_illuminance0_threshY_hysteresis
0012 Date:           May 2012
0013 KernelVersion:  3.5
0014 Contact:        Johan Hovold <jhovold@gmail.com>
0015 Description:
0016                 Get the hysteresis for thresholds Y, that is,
0017                 threshY_hysteresis = threshY_raising - threshY_falling
0018 
0019 What:           /sys/.../events/illuminance_threshY_falling_value
0020 What:           /sys/.../events/illuminance_threshY_raising_value
0021 Date:           April 2012
0022 KernelVersion:  3.5
0023 Contact:        Johan Hovold <jhovold@gmail.com>
0024 Description:
0025                 Specifies the value of threshold that the device is comparing
0026                 against for the events enabled by
0027                 in_illuminance0_thresh_either_en (0..255), where Y in 0..3.
0028 
0029                 Note that threshY_falling must be less than or equal to
0030                 threshY_raising.
0031 
0032                 These thresholds correspond to the eight zone-boundary
0033                 registers (boundaryY_{low,high}) and define the five light
0034                 zones.
0035 
0036 What:           /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone
0037 Date:           April 2012
0038 KernelVersion:  3.5
0039 Contact:        Johan Hovold <jhovold@gmail.com>
0040 Description:
0041                 Get the current light zone (0..4) as defined by the
0042                 in_illuminance0_threshY_{falling,rising} thresholds.
0043 
0044 What:           /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw
0045 Date:           May 2012
0046 KernelVersion:  3.5
0047 Contact:        Johan Hovold <jhovold@gmail.com>
0048 Description:
0049                 Set the output current for channel out_currentY when in zone
0050                 Z (0..255), where Y in 0..2 and Z in 0..4.
0051 
0052                 These values correspond to the ALS-mapper target registers for
0053                 ALS-mapper Y + 1.
0054 
0055                 Note that out_currentY_raw provides the current for the
0056                 current zone.