Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_raw
0002 Date:           May 2016
0003 KernelVersion:
0004 Contact:        Andrew F. Davis <afd@ti.com>
0005 Description:
0006                 Get measured values from the ADC for these stages. Y is the
0007                 specific stage number corresponding to datasheet stage names
0008                 as follows:
0009 
0010                 == ==========
0011                 1  LED2
0012                 2  ALED2/LED3
0013                 3  LED1
0014                 4  ALED1/LED4
0015                 == ==========
0016 
0017                 Note that channels 5 and 6 represent LED2-ALED2 and LED1-ALED1
0018                 respectively which simply helper channels containing the
0019                 calculated difference in the value of stage 1 - 2 and 3 - 4.
0020                 The values are expressed in 24-bit twos complement.
0021                 The LED current for the stage is controlled via
0022                 out_currentY_raw.
0023 
0024 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_offset
0025 Date:           May 2016
0026 KernelVersion:
0027 Contact:        Andrew F. Davis <afd@ti.com>
0028 Description:
0029                 Get and set the offset cancellation DAC setting for these
0030                 stages. The values are expressed in 5-bit sign-magnitude.
0031 
0032 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_resistance
0033 What:           /sys/bus/iio/devices/iio:deviceX/in_intensityY_capacitance
0034 Date:           May 2016
0035 KernelVersion:
0036 Contact:        Andrew F. Davis <afd@ti.com>
0037 Description:
0038                 Get and set the resistance and the capacitance settings for the
0039                 Transimpedance Amplifier during the associated stage.