|
My Project
|
Classes | |
| struct | iio_buffer |
| An input or output buffer, used to read or write samples. More... | |
Functions | |
| const struct iio_device * | iio_buffer_get_device (const struct iio_buffer *buf) |
| Retrieve a pointer to the iio_device structure. | |
| unsigned int | iio_buffer_get_attrs_count (const struct iio_buffer *buf) |
| Enumerate the attributes of the given buffer. | |
| const struct iio_attr * | iio_buffer_get_attr (const struct iio_buffer *buf, unsigned int index) |
| Get the buffer-specific attribute present at the given index. | |
| unsigned int | iio_buffer_get_scan_elements_count (const struct iio_buffer *buf) |
| Enumerate the scan elements of the given buffer. | |
| const struct iio_channel * | iio_buffer_get_scan_element (const struct iio_buffer *buf, unsigned int index) |
| Get the scan element present at the given index. | |
| const struct iio_attr * | iio_buffer_find_attr (const struct iio_buffer *buf, const char *name) |
| Try to find a buffer-specific attribute by its name. | |
| bool | iio_buffer_is_output (const struct iio_buffer *buf) |
| Returns true if the buffer is an output buffer. | |
| void | iio_buffer_set_data (struct iio_buffer *buf, void *data) |
| Associate a pointer to an iio_buffer structure. | |
| void * | iio_buffer_get_data (const struct iio_buffer *buf) |
| Retrieve a previously associated pointer of an iio_buffer structure. | |
| const struct iio_attr * iio_buffer_find_attr | ( | const struct iio_buffer * | buf, |
| const char * | name ) |
Try to find a buffer-specific attribute by its name.
| buf | A pointer to an iio_buffer structure |
| name | A NULL-terminated string corresponding to the name of the attribute |
| const struct iio_attr * iio_buffer_get_attr | ( | const struct iio_buffer * | buf, |
| unsigned int | index ) |
Get the buffer-specific attribute present at the given index.
| buf | A pointer to an iio_buffer structure |
| index | The index corresponding to the attribute |
| unsigned int iio_buffer_get_attrs_count | ( | const struct iio_buffer * | buf | ) |
Enumerate the attributes of the given buffer.
| buf | A pointer to an iio_buffer structure |
| void * iio_buffer_get_data | ( | const struct iio_buffer * | buf | ) |
Retrieve a previously associated pointer of an iio_buffer structure.
| buf | A pointer to an iio_buffer structure |
| const struct iio_device * iio_buffer_get_device | ( | const struct iio_buffer * | buf | ) |
Retrieve a pointer to the iio_device structure.
| buf | A pointer to an iio_buffer structure |
| const struct iio_channel * iio_buffer_get_scan_element | ( | const struct iio_buffer * | buf, |
| unsigned int | index ) |
Get the scan element present at the given index.
| buf | A pointer to an iio_buffer structure |
| index | The index corresponding to the scan element |
| unsigned int iio_buffer_get_scan_elements_count | ( | const struct iio_buffer * | buf | ) |
Enumerate the scan elements of the given buffer.
| buf | A pointer to an iio_buffer structure |
| bool iio_buffer_is_output | ( | const struct iio_buffer * | buf | ) |
Returns true if the buffer is an output buffer.
| buf | A pointer to an iio_buffer structure |
| void iio_buffer_set_data | ( | struct iio_buffer * | buf, |
| void * | data ) |
Associate a pointer to an iio_buffer structure.
| buf | A pointer to an iio_buffer structure |
| data | The pointer to be associated |