0001 What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode
0002 Date: August 2015
0003 KernelVersion: 4.2.0
0004 Contact: source@cogentembedded.com
0005 Description:
0006 Program sensor type for threshold detector inputs.
0007 Could be either "GND-Open" or "Supply-Open" mode. Y is a
0008 threshold detector input channel. Channels 0..7, 8..15, 16..23
0009 and 24..31 has common sensor types.
0010
0011 What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value
0012 Date: August 2015
0013 KernelVersion: 4.2.0
0014 Contact: source@cogentembedded.com
0015 Description:
0016 Channel Y low voltage threshold. If sensor input voltage goes lower then
0017 this value then the threshold falling event is pushed.
0018 Depending on in_voltageY_sensing_mode the low voltage threshold
0019 is separately set for "GND-Open" and "Supply-Open" modes.
0020 Channels 0..31 have common low threshold values, but could have different
0021 sensing_modes.
0022
0023 The low voltage threshold range is between 2..21V.
0024 Hysteresis between low and high thresholds can not be lower then 2 and
0025 can not be odd.
0026
0027 If falling threshold results hysteresis to odd value then rising
0028 threshold is automatically subtracted by one.
0029
0030 What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value
0031 Date: August 2015
0032 KernelVersion: 4.2.0
0033 Contact: source@cogentembedded.com
0034 Description:
0035 Channel Y high voltage threshold. If sensor input voltage goes higher then
0036 this value then the threshold rising event is pushed.
0037 Depending on in_voltageY_sensing_mode the high voltage threshold
0038 is separately set for "GND-Open" and "Supply-Open" modes.
0039
0040 Channels 0..31 have common high threshold values, but could have different
0041 sensing_modes.
0042
0043 The high voltage threshold range is between 3..22V.
0044 Hysteresis between low and high thresholds can not be lower then 2 and
0045 can not be odd.
0046
0047 If rising threshold results hysteresis to odd value then falling
0048 threshold is automatically appended by one.