blob: 6adba9058b22b649d772381ae24634c1d8a0f940 [file] [log] [blame]
Andrew F. Davis24b9dea2016-05-01 15:36:58 -05001What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
2Date: May 2016
Andrew F. Davis87aec562016-02-02 11:50:44 -06003KernelVersion:
4Contact: Andrew F. Davis <afd@ti.com>
5Description:
6 Get measured values from the ADC for these stages. Y is the
Andrew F. Davis24b9dea2016-05-01 15:36:58 -05007 specific stage number corresponding to datasheet stage names
8 as follows:
9 1 -> LED2
10 2 -> ALED2/LED3
11 3 -> LED1
12 4 -> ALED1/LED4
13 Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
14 respectively which simply helper channels containing the
15 calculated difference in the value of stage 1 - 2 and 3 - 4.
16 The values are expressed in 24-bit twos complement.
Andrew F. Davis87aec562016-02-02 11:50:44 -060017
Andrew F. Davis24b9dea2016-05-01 15:36:58 -050018What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
19Date: May 2016
Andrew F. Davis87aec562016-02-02 11:50:44 -060020KernelVersion:
21Contact: Andrew F. Davis <afd@ti.com>
22Description:
23 Get and set the offset cancellation DAC setting for these
24 stages. The values are expressed in 5-bit sign-magnitude.
25
Andrew F. Davis12761872016-05-01 15:37:00 -050026What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
27What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
28Date: May 2016
29KernelVersion:
30Contact: Andrew F. Davis <afd@ti.com>
31Description:
32 Get and set the resistance and the capacitance settings for the
33 Transimpedance Amplifier during the associated stage.
34
Andrew F. Davis24b9dea2016-05-01 15:36:58 -050035What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
36Date: May 2016
Andrew F. Davis87aec562016-02-02 11:50:44 -060037KernelVersion:
38Contact: Andrew F. Davis <afd@ti.com>
39Description:
Andrew F. Davis24b9dea2016-05-01 15:36:58 -050040 Get and set the LED current for the specified LED active during
41 this stage. Y is the specific stage number.