Go to the documentation of this file.
13 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \
14 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequency##_num, \
15 _mode, _show, _store, _addr)
21 #define IIO_CONST_ATTR_FREQ_SCALE(_channel, _string) \
22 IIO_CONST_ATTR(out_altvoltage##_channel##_frequency_scale, _string)
28 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \
29 IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \
30 _mode, _show, _store, _addr);
36 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \
37 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phase##_num, \
38 _mode, _show, _store, _addr)
44 #define IIO_CONST_ATTR_PHASE_SCALE(_channel, _string) \
45 IIO_CONST_ATTR(out_altvoltage##_channel##_phase_scale, _string)
51 #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \
52 IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \
53 _mode, _show, _store, _addr);
59 #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\
60 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en, \
61 _mode, _show, _store, _addr);
67 #define IIO_DEV_ATTR_PINCONTROL_FREQ_EN(_channel, _mode, _show, _store, _addr)\
68 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_frequency_en,\
69 _mode, _show, _store, _addr);
75 #define IIO_DEV_ATTR_PINCONTROL_PHASE_EN(_channel, _mode, _show, _store, _addr)\
76 IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_phase_en, \
77 _mode, _show, _store, _addr);
83 #define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \
84 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \
85 _mode, _show, _store, _addr);
91 #define IIO_DEV_ATTR_OUTY_ENABLE(_channel, _output, \
92 _mode, _show, _store, _addr) \
93 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_enable,\
94 _mode, _show, _store, _addr);
100 #define IIO_DEV_ATTR_OUT_WAVETYPE(_channel, _output, _store, _addr) \
101 IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_wavetype,\
102 S_IWUSR, NULL, _store, _addr);
108 #define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\
110 out_altvoltage##_channel##_out##_output##_wavetype_available, _modes);