Represents a hardware I/O buffer.
◆ __init__()
def iio.Buffer.__init__ |
( |
|
self, |
|
|
|
device, |
|
|
|
mask, |
|
|
|
idx = 0 |
|
) |
| |
Initialize a new instance of the Buffer class.
:param device: type=iio.Device
The iio.Device object that represents the device where the I/O
operations will be performed
:param mask: type=ChannelsMask
The mask of enabled channels
:param idx: type=int
The hardware index of the buffer to use. If unsure, leave it to 0
returns: type=iio.Buffer
An new instance of this class
◆ __del__()
def iio.Buffer.__del__ |
( |
|
self | ) |
|
◆ cancel()
def iio.Buffer.cancel |
( |
|
self | ) |
|
Cancel the current buffer.
◆ device()
def iio.Buffer.device |
( |
|
self | ) |
|
Device for the buffer.
type: iio.Device
◆ enabled
Initial value:= property(
lambda self: self._enabled,
_set_enabled,
None,
"Represents the state (enabled/disabled) of the hardware buffer.",
)
The documentation for this class was generated from the following file: