18c2ecf20Sopenharmony_ciWhat:		/sys/.../events/in_illuminance0_thresh_either_en
28c2ecf20Sopenharmony_ciDate:		April 2012
38c2ecf20Sopenharmony_ciKernelVersion:	3.5
48c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
58c2ecf20Sopenharmony_ciDescription:
68c2ecf20Sopenharmony_ci		Event generated when channel passes one of the four thresholds
78c2ecf20Sopenharmony_ci		in each direction (rising|falling) and a zone change occurs.
88c2ecf20Sopenharmony_ci		The corresponding light zone can be read from
98c2ecf20Sopenharmony_ci		in_illuminance0_zone.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciWhat:		/sys/.../events/in_illuminance0_threshY_hysteresis
128c2ecf20Sopenharmony_ciDate:		May 2012
138c2ecf20Sopenharmony_ciKernelVersion:	3.5
148c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
158c2ecf20Sopenharmony_ciDescription:
168c2ecf20Sopenharmony_ci		Get the hysteresis for thresholds Y, that is,
178c2ecf20Sopenharmony_ci		threshY_hysteresis = threshY_raising - threshY_falling
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciWhat:		/sys/.../events/illuminance_threshY_falling_value
208c2ecf20Sopenharmony_ciWhat:		/sys/.../events/illuminance_threshY_raising_value
218c2ecf20Sopenharmony_ciDate:		April 2012
228c2ecf20Sopenharmony_ciKernelVersion:	3.5
238c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
248c2ecf20Sopenharmony_ciDescription:
258c2ecf20Sopenharmony_ci		Specifies the value of threshold that the device is comparing
268c2ecf20Sopenharmony_ci		against for the events enabled by
278c2ecf20Sopenharmony_ci		in_illuminance0_thresh_either_en (0..255), where Y in 0..3.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		Note that threshY_falling must be less than or equal to
308c2ecf20Sopenharmony_ci		threshY_raising.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci		These thresholds correspond to the eight zone-boundary
338c2ecf20Sopenharmony_ci		registers (boundaryY_{low,high}) and define the five light
348c2ecf20Sopenharmony_ci		zones.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciWhat:		/sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone
378c2ecf20Sopenharmony_ciDate:		April 2012
388c2ecf20Sopenharmony_ciKernelVersion:	3.5
398c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
408c2ecf20Sopenharmony_ciDescription:
418c2ecf20Sopenharmony_ci		Get the current light zone (0..4) as defined by the
428c2ecf20Sopenharmony_ci		in_illuminance0_threshY_{falling,rising} thresholds.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciWhat:		/sys/bus/iio/devices/iio:deviceX/out_currentY_raw
458c2ecf20Sopenharmony_ciDate:		May 2012
468c2ecf20Sopenharmony_ciKernelVersion:	3.5
478c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
488c2ecf20Sopenharmony_ciDescription:
498c2ecf20Sopenharmony_ci		Get output current for channel Y (0..255), that is,
508c2ecf20Sopenharmony_ci		out_currentY_currentZ_raw, where Z is the current zone.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciWhat:		/sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw
538c2ecf20Sopenharmony_ciDate:		May 2012
548c2ecf20Sopenharmony_ciKernelVersion:	3.5
558c2ecf20Sopenharmony_ciContact:	Johan Hovold <jhovold@gmail.com>
568c2ecf20Sopenharmony_ciDescription:
578c2ecf20Sopenharmony_ci		Set the output current for channel out_currentY when in zone
588c2ecf20Sopenharmony_ci		Z (0..255), where Y in 0..2 and Z in 0..4.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci		These values correspond to the ALS-mapper target registers for
618c2ecf20Sopenharmony_ci		ALS-mapper Y + 1.
62