1 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_en
3 Contact: linux-iio@vger.kernel.org
5 Dither enable. Write 1 to enable dither or 0 to disable it. This is useful
6 for changing the dither parameters. They way it should be done is:
8 - disable dither operation;
9 - change dither parameters (eg: frequency, phase...);
10 - enabled dither operation
12 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw
14 Contact: linux-iio@vger.kernel.org
16 This raw, unscaled value refers to the dither signal amplitude.
17 The same scale as in out_voltageY_raw applies. However, the
18 offset might be different as it's always 0 for this attribute.
20 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw_available
22 Contact: linux-iio@vger.kernel.org
24 Available range for dither raw amplitude values.
26 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_offset
28 Contact: linux-iio@vger.kernel.org
30 Offset applied to out_voltageY_dither_raw. Read only attribute
33 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency
35 Contact: linux-iio@vger.kernel.org
37 Sets the dither signal frequency. Units are in Hz.
39 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency_available
41 Contact: linux-iio@vger.kernel.org
43 Returns the available values for the dither frequency.
45 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase
47 Contact: linux-iio@vger.kernel.org
49 Sets the dither signal phase. Units are in Radians.
51 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase_available
53 Contact: linux-iio@vger.kernel.org
55 Returns the available values for the dither phase.
57 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en
59 Contact: linux-iio@vger.kernel.org
61 Toggle enable. Write 1 to enable toggle or 0 to disable it. This is
62 useful when one wants to change the DAC output codes. The way it should
65 - disable toggle operation;
66 - change out_voltageY_raw0 and out_voltageY_raw1;
67 - enable toggle operation.
69 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw0
70 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw1
72 Contact: linux-iio@vger.kernel.org
74 It has the same meaning as out_voltageY_raw. This attribute is
75 specific to toggle enabled channels and refers to the DAC output
76 code in INPUT_A (_raw0) and INPUT_B (_raw1). The same scale and offset
77 as in out_voltageY_raw applies.
79 What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol
81 Contact: linux-iio@vger.kernel.org
83 Performs a SW toggle. This attribute is specific to toggle
84 enabled channels and allows to toggle between out_voltageY_raw0
85 and out_voltageY_raw1 through software. Writing 0 will select
86 out_voltageY_raw0 while 1 selects out_voltageY_raw1.