IOBuffer

class iio.IOBuffer

iio.IOBuffer class: The class used for all I/O operations.

Public Functions

BufferStream open (ChannelsMask mask)

Open this buffer for data streaming.

Param mask:

Channels mask for this stream. If NULL, use the default mask.

Throws IioLib.IIOException:

The buffer stream could not be opened.

Public Members

readonly Device dev

The associated iio.Device object.

readonly IReadOnlyDictionary<string, Attr> attrs

A Dictionary of all the attributes that this buffer has. Key is the attribute name.

readonly IReadOnlyList<Channel> scan_elements

A list of all scan elements associated with this buffer.

Properties

bool output { get; set; }

Returns true if the buffer is an output (TX) buffer.