1 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_toggle_en
3 Contact: linux-iio@vger.kernel.org
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:
9 - disable toggle operation;
10 - change out_currentY_rawN, where N is the integer value of the symbol;
11 - enable toggle operation.
13 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_rawN
15 Contact: linux-iio@vger.kernel.org
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.
22 What: /sys/bus/iio/devices/iio:deviceX/out_currentY_symbol
24 Contact: linux-iio@vger.kernel.org
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.
32 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
34 Contact: linux-iio@vger.kernel.org
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:
40 - disable toggle operation;
41 - change out_voltageY_rawN, where N is the integer value of the symbol;
42 - enable toggle operation.
44 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_rawN
46 Contact: linux-iio@vger.kernel.org
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.
53 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
55 Contact: linux-iio@vger.kernel.org
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.