Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/iio/devices/iio:deviceX/in_allow_async_readout
0002 Date:           December 2015
0003 KernelVersion:  4.4
0004 Contact:        linux-iio@vger.kernel.org
0005 Description:
0006                 By default (value '0'), the capture thread checks for the Conversion
0007                 Ready Flag to being set prior to committing a new value to the sample
0008                 buffer. This synchronizes the in-chip conversion rate with the
0009                 in-driver readout rate at the cost of an additional register read.
0010 
0011                 Writing '1' will remove the polling for the Conversion Ready Flags to
0012                 save the additional i2c transaction, which will improve the bandwidth
0013                 available for reading data. However, samples can be occasionally skipped
0014                 or repeated, depending on the beat between the capture and conversion
0015                 rates.
0016 
0017 What:           /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor
0018 Date:           December 2015
0019 KernelVersion:  4.4
0020 Contact:        linux-iio@vger.kernel.org
0021 Description:
0022                 The value of the shunt resistor may be known only at runtime fom an
0023                 eeprom content read by a client application. This attribute allows to
0024                 set its value in ohms.