Commit d35d43d7 authored by Peter Meerwald-Stadler's avatar Peter Meerwald-Stadler Committed by Jonathan Cameron

Documentation: iio: Clarify meaning of IIO_DISTANCE channel type

IIO_DISTANCE is used for two purposes: for pedometers to record the
distance covered by a walker, and to measure the distance to an object

IIO_DISTANCE is in meters while IIO_PROXIMITY is a unitless measure
indirectly proportional to distance (higher value relates to a closer
object)
Signed-off-by: default avatarPeter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3888ffd0
...@@ -1242,9 +1242,9 @@ What: /sys/.../iio:deviceX/in_distance_raw ...@@ -1242,9 +1242,9 @@ What: /sys/.../iio:deviceX/in_distance_raw
KernelVersion: 4.0 KernelVersion: 4.0
Contact: linux-iio@vger.kernel.org Contact: linux-iio@vger.kernel.org
Description: Description:
This attribute is used to read the distance covered by the user This attribute is used to read the measured distance to an object
since the last reboot while activated. Units after application or the distance covered by the user since the last reboot while
of scale are meters. activated. Units after application of scale are meters.
What: /sys/bus/iio/devices/iio:deviceX/store_eeprom What: /sys/bus/iio/devices/iio:deviceX/store_eeprom
KernelVersion: 3.4.0 KernelVersion: 3.4.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment