162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/in_voltageY_sensing_mode 262306a36Sopenharmony_ciDate: August 2015 362306a36Sopenharmony_ciKernelVersion: 4.2.0 462306a36Sopenharmony_ciContact: source@cogentembedded.com 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci Program sensor type for threshold detector inputs. 762306a36Sopenharmony_ci Could be either "GND-Open" or "Supply-Open" mode. Y is a 862306a36Sopenharmony_ci threshold detector input channel. Channels 0..7, 8..15, 16..23 962306a36Sopenharmony_ci and 24..31 has common sensor types. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_falling_value 1262306a36Sopenharmony_ciDate: August 2015 1362306a36Sopenharmony_ciKernelVersion: 4.2.0 1462306a36Sopenharmony_ciContact: source@cogentembedded.com 1562306a36Sopenharmony_ciDescription: 1662306a36Sopenharmony_ci Channel Y low voltage threshold. If sensor input voltage goes lower then 1762306a36Sopenharmony_ci this value then the threshold falling event is pushed. 1862306a36Sopenharmony_ci Depending on in_voltageY_sensing_mode the low voltage threshold 1962306a36Sopenharmony_ci is separately set for "GND-Open" and "Supply-Open" modes. 2062306a36Sopenharmony_ci Channels 0..31 have common low threshold values, but could have different 2162306a36Sopenharmony_ci sensing_modes. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci The low voltage threshold range is between 2..21V. 2462306a36Sopenharmony_ci Hysteresis between low and high thresholds can not be lower then 2 and 2562306a36Sopenharmony_ci can not be odd. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci If falling threshold results hysteresis to odd value then rising 2862306a36Sopenharmony_ci threshold is automatically subtracted by one. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciWhat: /sys/bus/iio/devices/iio:deviceX/events/in_voltageY_thresh_rising_value 3162306a36Sopenharmony_ciDate: August 2015 3262306a36Sopenharmony_ciKernelVersion: 4.2.0 3362306a36Sopenharmony_ciContact: source@cogentembedded.com 3462306a36Sopenharmony_ciDescription: 3562306a36Sopenharmony_ci Channel Y high voltage threshold. If sensor input voltage goes higher then 3662306a36Sopenharmony_ci this value then the threshold rising event is pushed. 3762306a36Sopenharmony_ci Depending on in_voltageY_sensing_mode the high voltage threshold 3862306a36Sopenharmony_ci is separately set for "GND-Open" and "Supply-Open" modes. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci Channels 0..31 have common high threshold values, but could have different 4162306a36Sopenharmony_ci sensing_modes. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci The high voltage threshold range is between 3..22V. 4462306a36Sopenharmony_ci Hysteresis between low and high thresholds can not be lower then 2 and 4562306a36Sopenharmony_ci can not be odd. 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci If rising threshold results hysteresis to odd value then falling 4862306a36Sopenharmony_ci threshold is automatically appended by one. 49