blob: 4b01150af397d97d5b8388312a17b88197958f98 [file] [log] [blame]
Vladimir Barinov72aa29c2015-08-28 17:27:52 +03001What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode
2Date: August 2015
3KernelVersion: 4.2.0
4Contact: source@cogentembedded.com
5Description:
6 Program sensor type for threshold detector inputs.
7 Could be either "GND-Open" or "Supply-Open" mode. Y is a
8 threshold detector input channel. Channels 0..7, 8..15, 16..23
9 and 24..31 has common sensor types.
10
11What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value
12Date: August 2015
13KernelVersion: 4.2.0
14Contact: source@cogentembedded.com
15Description:
16 Channel Y low voltage threshold. If sensor input voltage goes lower then
17 this value then the threshold falling event is pushed.
18 Depending on in_voltageY_sensing_mode the low voltage threshold
19 is separately set for "GND-Open" and "Supply-Open" modes.
20 Channels 0..31 have common low threshold values, but could have different
21 sensing_modes.
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010022
Vladimir Barinov72aa29c2015-08-28 17:27:52 +030023 The low voltage threshold range is between 2..21V.
24 Hysteresis between low and high thresholds can not be lower then 2 and
25 can not be odd.
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010026
Vladimir Barinov72aa29c2015-08-28 17:27:52 +030027 If falling threshold results hysteresis to odd value then rising
28 threshold is automatically subtracted by one.
29
30What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value
31Date: August 2015
32KernelVersion: 4.2.0
33Contact: source@cogentembedded.com
34Description:
35 Channel Y high voltage threshold. If sensor input voltage goes higher then
36 this value then the threshold rising event is pushed.
37 Depending on in_voltageY_sensing_mode the high voltage threshold
38 is separately set for "GND-Open" and "Supply-Open" modes.
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010039
Vladimir Barinov72aa29c2015-08-28 17:27:52 +030040 Channels 0..31 have common high threshold values, but could have different
41 sensing_modes.
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010042
Vladimir Barinov72aa29c2015-08-28 17:27:52 +030043 The high voltage threshold range is between 3..22V.
44 Hysteresis between low and high thresholds can not be lower then 2 and
45 can not be odd.
Mauro Carvalho Chehab54a19b42020-10-30 08:40:50 +010046
Vladimir Barinov72aa29c2015-08-28 17:27:52 +030047 If rising threshold results hysteresis to odd value then falling
48 threshold is automatically appended by one.