Vladimir Barinov | 72aa29c | 2015-08-28 17:27:52 +0300 | [diff] [blame] | 1 | What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode |
| 2 | Date: August 2015 |
| 3 | KernelVersion: 4.2.0 |
| 4 | Contact: source@cogentembedded.com |
| 5 | Description: |
| 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 | |
| 11 | What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value |
| 12 | Date: August 2015 |
| 13 | KernelVersion: 4.2.0 |
| 14 | Contact: source@cogentembedded.com |
| 15 | Description: |
| 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. |
| 22 | The low voltage threshold range is between 2..21V. |
| 23 | Hysteresis between low and high thresholds can not be lower then 2 and |
| 24 | can not be odd. |
| 25 | If falling threshold results hysteresis to odd value then rising |
| 26 | threshold is automatically subtracted by one. |
| 27 | |
| 28 | What: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value |
| 29 | Date: August 2015 |
| 30 | KernelVersion: 4.2.0 |
| 31 | Contact: source@cogentembedded.com |
| 32 | Description: |
| 33 | Channel Y high voltage threshold. If sensor input voltage goes higher then |
| 34 | this value then the threshold rising event is pushed. |
| 35 | Depending on in_voltageY_sensing_mode the high voltage threshold |
| 36 | is separately set for "GND-Open" and "Supply-Open" modes. |
| 37 | Channels 0..31 have common high threshold values, but could have different |
| 38 | sensing_modes. |
| 39 | The high voltage threshold range is between 3..22V. |
| 40 | Hysteresis between low and high thresholds can not be lower then 2 and |
| 41 | can not be odd. |
| 42 | If rising threshold results hysteresis to odd value then falling |
| 43 | threshold is automatically appended by one. |