xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/fault_oc
2*4882a593SmuzhiyunKernelVersion:	5.1
3*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
4*4882a593SmuzhiyunDescription:
5*4882a593Smuzhiyun		Open-circuit fault. The detection of open-circuit faults,
6*4882a593Smuzhiyun		such as those caused by broken thermocouple wires.
7*4882a593Smuzhiyun		Reading returns either '1' or '0'.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun		===  =======================================================
10*4882a593Smuzhiyun		'1'  An open circuit such as broken thermocouple wires
11*4882a593Smuzhiyun		     has been detected.
12*4882a593Smuzhiyun		'0'  No open circuit or broken thermocouple wires are detected
13*4882a593Smuzhiyun		===  =======================================================
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/fault_ovuv
16*4882a593SmuzhiyunKernelVersion:	5.1
17*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
18*4882a593SmuzhiyunDescription:
19*4882a593Smuzhiyun		Overvoltage or Undervoltage Input Fault. The internal circuitry
20*4882a593Smuzhiyun		is protected from excessive voltages applied to the thermocouple
21*4882a593Smuzhiyun		cables by integrated MOSFETs at the T+ and T- inputs, and the
22*4882a593Smuzhiyun		BIAS output. These MOSFETs turn off when the input voltage is
23*4882a593Smuzhiyun		negative or greater than VDD.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun		Reading returns either '1' or '0'.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun		===  =======================================================
28*4882a593Smuzhiyun		'1'  The input voltage is negative or greater than VDD.
29*4882a593Smuzhiyun		'0'  The input voltage is positive and less than VDD (normal
30*4882a593Smuzhiyun		     state).
31*4882a593Smuzhiyun		===  =======================================================
32