^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: source@cogentembedded.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Program sensor type for threshold detector inputs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Could be either "GND-Open" or "Supply-Open" mode. Y is a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) threshold detector input channel. Channels 0..7, 8..15, 16..23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) and 24..31 has common sensor types.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) KernelVersion: 4.2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Contact: source@cogentembedded.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Channel Y low voltage threshold. If sensor input voltage goes lower then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) this value then the threshold falling event is pushed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Depending on in_voltageY_sensing_mode the low voltage threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) is separately set for "GND-Open" and "Supply-Open" modes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Channels 0..31 have common low threshold values, but could have different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) sensing_modes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) The low voltage threshold range is between 2..21V.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Hysteresis between low and high thresholds can not be lower then 2 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) can not be odd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) If falling threshold results hysteresis to odd value then rising
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) threshold is automatically subtracted by one.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Date: August 2015
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) KernelVersion: 4.2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Contact: source@cogentembedded.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Channel Y high voltage threshold. If sensor input voltage goes higher then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) this value then the threshold rising event is pushed.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Depending on in_voltageY_sensing_mode the high voltage threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) is separately set for "GND-Open" and "Supply-Open" modes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Channels 0..31 have common high threshold values, but could have different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) sensing_modes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) The high voltage threshold range is between 3..22V.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Hysteresis between low and high thresholds can not be lower then 2 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) can not be odd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) If rising threshold results hysteresis to odd value then falling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) threshold is automatically appended by one.