xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/ac_excitation_en
2*4882a593SmuzhiyunKernelVersion:
3*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
4*4882a593SmuzhiyunDescription:
5*4882a593Smuzhiyun		This attribute, if available, is used to enable the AC
6*4882a593Smuzhiyun		excitation mode found on some converters. In ac excitation mode,
7*4882a593Smuzhiyun		the polarity of the excitation voltage is reversed on
8*4882a593Smuzhiyun		alternate cycles, to eliminate DC errors.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/bridge_switch_en
11*4882a593SmuzhiyunKernelVersion:
12*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
13*4882a593SmuzhiyunDescription:
14*4882a593Smuzhiyun		This attribute, if available, is used to close or open the
15*4882a593Smuzhiyun		bridge power down switch found on some converters.
16*4882a593Smuzhiyun		In bridge applications, such as strain gauges and load cells,
17*4882a593Smuzhiyun		the bridge itself consumes the majority of the current in the
18*4882a593Smuzhiyun		system. To minimize the current consumption of the system,
19*4882a593Smuzhiyun		the bridge can be disconnected (when it is not being used
20*4882a593Smuzhiyun		using the bridge_switch_en attribute.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration
23*4882a593SmuzhiyunKernelVersion:
24*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
25*4882a593SmuzhiyunDescription:
26*4882a593Smuzhiyun		Initiates the system calibration procedure. This is done on a
27*4882a593Smuzhiyun		single channel at a time. Write '1' to start the calibration.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
30*4882a593SmuzhiyunKernelVersion:
31*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
32*4882a593SmuzhiyunDescription:
33*4882a593Smuzhiyun		Measure voltage from AIN2 pin connected to AIN(+)
34*4882a593Smuzhiyun		and AIN(-) shorted.
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available
37*4882a593SmuzhiyunKernelVersion:
38*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
39*4882a593SmuzhiyunDescription:
40*4882a593Smuzhiyun		Reading returns a list with the possible calibration modes.
41*4882a593Smuzhiyun		There are two available options:
42*4882a593Smuzhiyun		"zero_scale" - calibrate to zero scale
43*4882a593Smuzhiyun		"full_scale" - calibrate to full scale
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunWhat:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode
46*4882a593SmuzhiyunKernelVersion:
47*4882a593SmuzhiyunContact:	linux-iio@vger.kernel.org
48*4882a593SmuzhiyunDescription:
49*4882a593Smuzhiyun		Sets up the calibration mode used in the system calibration
50*4882a593Smuzhiyun		procedure. Reading returns the current calibration mode.
51*4882a593Smuzhiyun		Writing sets the system calibration mode.
52