|
libiio 1.0
Library for interfacing with IIO devices
|

Data Structures | |
| struct | iio_buffer_stream |
| An opened buffer ready for data streaming. More... | |
Functions | |
| __api __check_ret struct iio_buffer_stream * | iio_buffer_open (struct iio_buffer *buf, const struct iio_channels_mask *mask) |
| Open a buffer for data streaming. | |
| __api void | iio_buffer_close (struct iio_buffer_stream *buf_stream) |
| Close a buffer stream. | |
| __api void | iio_buffer_stream_cancel (struct iio_buffer_stream *buf_stream) |
| Cancel all buffer stream operations. | |
| __api __check_ret int | iio_buffer_stream_start (struct iio_buffer_stream *buf_stream) |
| Start the buffer stream. | |
| __api int | iio_buffer_stream_stop (struct iio_buffer_stream *buf_stream) |
| Stop the buffer stream. | |
| __api const struct iio_channels_mask * | iio_buffer_stream_get_channels_mask (const struct iio_buffer_stream *buf_stream) |
| Retrieve the channels mask of a buffer stream. | |
| __api void iio_buffer_close | ( | struct iio_buffer_stream * | buf_stream | ) |
Close a buffer stream.
| buf_stream | A pointer to an iio_buffer_stream structure |


| __api __check_ret struct iio_buffer_stream * iio_buffer_open | ( | struct iio_buffer * | buf, |
| const struct iio_channels_mask * | mask | ||
| ) |
Open a buffer for data streaming.
| buf | A pointer to an iio_buffer structure |
| mask | A pointer to an iio_channels_mask structure specifying which channels to enable |


| __api void iio_buffer_stream_cancel | ( | struct iio_buffer_stream * | buf_stream | ) |
Cancel all buffer stream operations.
| buf_stream | The buffer stream for which operations should be canceled |

| __api const struct iio_channels_mask * iio_buffer_stream_get_channels_mask | ( | const struct iio_buffer_stream * | buf_stream | ) |
Retrieve the channels mask of a buffer stream.
| buf_stream | A pointer to an iio_buffer_stream structure |
| __api __check_ret int iio_buffer_stream_start | ( | struct iio_buffer_stream * | buf_stream | ) |
Start the buffer stream.
| buf_stream | A pointer to an iio_buffer_stream structure |

| __api int iio_buffer_stream_stop | ( | struct iio_buffer_stream * | buf_stream | ) |
Stop the buffer stream.
| buf_stream | A pointer to an iio_buffer_stream structure |