struct iio_chan_spec - specification of a single channel : What type of measurement is the channel making. : What number do we wish to assign the channel. : If there is a second number for a differential channel then this is it. If modified is set then the value here specifies the modifier. : Driver specific identifier. : Monotonic index to give ordering in scans when read from a buffer. : Sign: 's' or 'u' to specify signed or unsigned realbits: Number of valid bits of data storage_bits: Realbits + padding shift: Shift right by this before masking out realbits. endianness: little or big endian : What information is to be exported about this channel. This includes calibbias, scale etc. : What events can this channel produce. : Array of extended info attributes for this channel. The array is NULL terminated, the last element should have its name field set to NULL. : Allows labeling of channel attributes with an informative name. Note this has no effect codes etc, unlike modifiers. : A name used in in-kernel mapping of channels. It should correspond to the first name that the channel is referred to by in the datasheet (e.g. IND), or the nearest possible compound name (e.g. IND-INC). : Does a modifier apply to this channel. What these are depends on the channel type. Modifier is set in channel2. Examples are IIO_MOD_X for axial sensors about the 'x' axis. : Specify the channel has a numerical index. If not, the channel index number will be suppressed for sysfs attributes but not for event codes. : Channel is output. : Channel is differential.
Definition at line 242 of file iio.h.