summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192
blob: f8315202c8f0df2bd4b7216f5cf8d3c2780fcf3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
What:		/sys/bus/iio/devices/iio:deviceX/ac_excitation_en
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute, if available, is used to enable the AC
		excitation mode found on some converters. In ac excitation mode,
		the polarity of the excitation voltage is reversed on
		alternate cycles, to eliminate DC errors.

What:		/sys/bus/iio/devices/iio:deviceX/bridge_switch_en
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		This attribute, if available, is used to close or open the
		bridge power down switch found on some converters.
		In bridge applications, such as strain gauges and load cells,
		the bridge itself consumes the majority of the current in the
		system. To minimize the current consumption of the system,
		the bridge can be disconnected (when it is not being used
		using the bridge_switch_en attribute.

What:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		Initiates the system calibration procedure. This is done on a
		single channel at a time. Write '1' to start the calibration.

What:		/sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		Measure voltage from AIN2 pin connected to AIN(+)
		and AIN(-) shorted.

What:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode_available
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		Reading returns a list with the possible calibration modes.
		There are two available options:
		"zero_scale" - calibrate to zero scale
		"full_scale" - calibrate to full scale

What:		/sys/bus/iio/devices/iio:deviceX/in_voltagex_sys_calibration_mode
KernelVersion:
Contact:	linux-iio@vger.kernel.org
Description:
		Sets up the calibration mode used in the system calibration
		procedure. Reading returns the current calibration mode.
		Writing sets the system calibration mode.