62 lines · plain
1What: /sys/bus/iio/devices/iio:deviceX/out_currentY_toggle_en2KernelVersion: 5.183Contact: linux-iio@vger.kernel.org4Description:5 Toggle enable. Write 1 to enable toggle or 0 to disable it. This6 is useful when one wants to change the DAC output codes. For7 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_rawN14KernelVersion: 5.1815Contact: linux-iio@vger.kernel.org16Description:17 This attribute has the same meaning as out_currentY_raw. It is18 specific to toggle enabled channels and refers to the DAC output19 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_symbol23KernelVersion: 5.1824Contact: linux-iio@vger.kernel.org25Description:26 Performs a SW switch to a predefined output symbol. This attribute27 is specific to toggle enabled channels and allows switching between28 multiple predefined symbols. Each symbol corresponds to a different29 output, denoted as out_currentY_rawN, where N is the integer value30 of the symbol. Writing an integer value N will select out_currentY_rawN.31 32What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_toggle_en33KernelVersion: 5.1834Contact: linux-iio@vger.kernel.org35Description:36 Toggle enable. Write 1 to enable toggle or 0 to disable it. This37 is useful when one wants to change the DAC output codes. For38 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_rawN45KernelVersion: 5.1846Contact: linux-iio@vger.kernel.org47Description:48 This attribute has the same meaning as out_currentY_raw. It is49 specific to toggle enabled channels and refers to the DAC output50 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_symbol54KernelVersion: 5.1855Contact: linux-iio@vger.kernel.org56Description:57 Performs a SW switch to a predefined output symbol. This attribute58 is specific to toggle enabled channels and allows switching between59 multiple predefined symbols. Each symbol corresponds to a different60 output, denoted as out_voltageY_rawN, where N is the integer value61 of the symbol. Writing an integer value N will select out_voltageY_rawN.62