0001 What: /sys/bus/iio/devices/iio:deviceX/proximity_on_chip_ambient_infrared_suppression
0002 Date: January 2011
0003 KernelVersion: 2.6.37
0004 Contact: linux-iio@vger.kernel.org
0005 Description:
0006 From ISL29018 Data Sheet (FN6619.4, Oct 8, 2012) regarding the
0007 infrared suppression:
0008
0009 Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity
0010 detection. The range of Scheme 0 proximity count is from 0 to
0011 2^n. Logic 1 of this bit, Scheme 1, makes n-1 (3, 7, 11, 15)
0012 bits (2's complementary) proximity_less_ambient detection. The
0013 range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1).
0014 The sign bit is extended for resolutions less than 16. While
0015 Scheme 0 has wider dynamic range, Scheme 1 proximity detection
0016 is less affected by the ambient IR noise variation.
0017
0018 == =============================================
0019 0 Sensing IR from LED and ambient
0020 1 Sensing IR from LED with ambient IR rejection
0021 == =============================================