![]() |
no-OS
|
Struct describing the scan type. More...
#include <iio_types.h>
Public Attributes | |
| const char * | name |
| enum iio_chan_type | ch_type |
| int | channel |
| int | channel2 |
| unsigned long | address |
| int | scan_index |
| struct scan_type * | scan_type |
| struct iio_attribute * | attributes |
| bool | ch_out |
| bool | modified |
| bool | indexed |
| bool | diferential |
Struct describing the scan type.
Structure holding attributes of a channel.
| unsigned long iio_channel::address |
Driver specific identifier.
| struct iio_attribute* iio_channel::attributes |
Array of attributes. Last one should have its name set to NULL
| bool iio_channel::ch_out |
if true, the channel is an output channel
| enum iio_chan_type iio_channel::ch_type |
Chanel type
| int iio_channel::channel |
Channel number when the same channel type
| int iio_channel::channel2 |
If modified is set, this provides the modifier. E.g. IIO_MOD_X for angular rate when applied to channel2 will make make the IIO_ANGL_VEL have anglvel_x which corresponds to the x-axis.
| bool iio_channel::diferential |
| bool iio_channel::indexed |
Specify if channel has a numerical index. If not set, channel number will be suppressed.
| bool iio_channel::modified |
Set if channel has a modifier. Use channel2 property to select the modifier to use.
| const char* iio_channel::name |
Channel name
| int iio_channel::scan_index |
Index to give ordering in scans when read from a buffer.
| struct scan_type* iio_channel::scan_type |