Buffer

Members

class iio.Buffer(device, _buffer)

Represents a hardware I/O buffer.

property attrs

List of attributes for this buffer. type=dict of iio.Attr

property device

Device for the buffer. type: iio.Device

open(mask)

Open this buffer for data streaming.

Parameters:

mask – type=ChannelsMask The channels mask used for streaming.

property output

Returns True if the buffer is an output (TX) buffer. type: bool

property scan_elements

List of scan elements (channels) associated with this buffer. type=list of iio.Channel