1What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_en 2KernelVersion: 5.18 3Contact: linux-iio@vger.kernel.org 4Description: 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: 7 8 - disable dither operation; 9 - change dither parameters (eg: frequency, phase...); 10 - enabled dither operation 11 12What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw 13KernelVersion: 5.18 14Contact: linux-iio@vger.kernel.org 15Description: 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. 19 20What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_raw_available 21KernelVersion: 5.18 22Contact: linux-iio@vger.kernel.org 23Description: 24 Available range for dither raw amplitude values. 25 26What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_offset 27KernelVersion: 5.18 28Contact: linux-iio@vger.kernel.org 29Description: 30 Offset applied to out_voltageY_dither_raw. Read only attribute 31 always set to 0. 32 33What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency 34KernelVersion: 5.18 35Contact: linux-iio@vger.kernel.org 36Description: 37 Sets the dither signal frequency. Units are in Hz. 38 39What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_frequency_available 40KernelVersion: 5.18 41Contact: linux-iio@vger.kernel.org 42Description: 43 Returns the available values for the dither frequency. 44 45What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase 46KernelVersion: 5.18 47Contact: linux-iio@vger.kernel.org 48Description: 49 Sets the dither signal phase. Units are in Radians. 50 51What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_dither_phase_available 52KernelVersion: 5.18 53Contact: linux-iio@vger.kernel.org 54Description: 55 Returns the available values for the dither phase. 56 57What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en 58KernelVersion: 5.18 59Contact: linux-iio@vger.kernel.org 60Description: 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 63 be done is: 64 65 - disable toggle operation; 66 - change out_voltageY_raw0 and out_voltageY_raw1; 67 - enable toggle operation. 68 69What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw0 70What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw1 71KernelVersion: 5.18 72Contact: linux-iio@vger.kernel.org 73Description: 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. 78 79What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_symbol 80KernelVersion: 5.18 81Contact: linux-iio@vger.kernel.org 82Description: 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. 87