xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-dac (revision 52c996d3f40b40f87ef9dc80596903309682acc3)
1What:		/sys/bus/iio/devices/iio:deviceX/out_currentY_toggle_en
2KernelVersion:	5.18
3Contact:	linux-iio@vger.kernel.org
4Description:
5		Toggle enable. Write 1 to enable toggle or 0 to disable it. This
6		is useful when one wants to change the DAC output codes. For
7		autonomous toggling, the way it should be done is:
8
9		- disable toggle operation;
10		- change out_currentY_rawN, where N is the integer value of the symbol;
11		- enable toggle operation.
12
13What:		/sys/bus/iio/devices/iio:deviceX/out_currentY_rawN
14KernelVersion:	5.18
15Contact:	linux-iio@vger.kernel.org
16Description:
17		This attribute has the same meaning as out_currentY_raw. It is
18		specific to toggle enabled channels and refers to the DAC output
19		code in INPUT_N (_rawN), where N is the integer value of the symbol.
20		The same scale and offset as in out_currentY_raw applies.
21
22What:		/sys/bus/iio/devices/iio:deviceX/out_currentY_symbol
23KernelVersion:	5.18
24Contact:	linux-iio@vger.kernel.org
25Description:
26		Performs a SW switch to a predefined output symbol. This attribute
27		is specific to toggle enabled channels and allows switching between
28		multiple predefined symbols. Each symbol corresponds to a different
29		output, denoted as out_currentY_rawN, where N is the integer value
30		of the symbol. Writing an integer value N will select out_currentY_rawN.
31
32What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
33KernelVersion:	5.18
34Contact:	linux-iio@vger.kernel.org
35Description:
36		Toggle enable. Write 1 to enable toggle or 0 to disable it. This
37		is useful when one wants to change the DAC output codes. For
38		autonomous toggling, the way it should be done is:
39
40		- disable toggle operation;
41		- change out_voltageY_rawN, where N is the integer value of the symbol;
42		- enable toggle operation.
43
44What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_rawN
45KernelVersion:	5.18
46Contact:	linux-iio@vger.kernel.org
47Description:
48		This attribute has the same meaning as out_currentY_raw. It is
49		specific to toggle enabled channels and refers to the DAC output
50		code in INPUT_N (_rawN), where N is the integer value of the symbol.
51		The same scale and offset as in out_currentY_raw applies.
52
53What:		/sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
54KernelVersion:	5.18
55Contact:	linux-iio@vger.kernel.org
56Description:
57		Performs a SW switch to a predefined output symbol. This attribute
58		is specific to toggle enabled channels and allows switching between
59		multiple predefined symbols. Each symbol corresponds to a different
60		output, denoted as out_voltageY_rawN, where N is the integer value
61		of the symbol. Writing an integer value N will select out_voltageY_rawN.
62