![]() |
no-OS
|
#include <iio_maxm86161.h>
Public Attributes | |
| uint8_t | fifo_read_buf [MAXM86161_FIFO_DEPTH *MAXM86161_FIFO_DATA_SIZE] |
| struct no_os_circular_buffer * | fifo_buf |
| struct maxm86161_dev * | drv_dev |
| struct iio_device * | iio_dev |
| struct no_os_irq_ctrl_desc * | irq_ctrl |
| uint32_t | irq_id |
| uint32_t | samples_available |
| uint32_t | sample_ovf_count |
| uint32_t | fifo_ovf_count |
| void * | samples_lock |
| bool | data_capture |
| bool maxm86161_iio_desc::data_capture |
True while a libiio client is actively streaming.
| struct maxm86161_dev* maxm86161_iio_desc::drv_dev |
Underlying MAXM86161 driver device.
| struct no_os_circular_buffer* maxm86161_iio_desc::fifo_buf |
Circular buffer bridging the INTB handler and the submit callback.
| uint32_t maxm86161_iio_desc::fifo_ovf_count |
Samples lost due to hardware FIFO overflow (device-side).
| uint8_t maxm86161_iio_desc::fifo_read_buf[MAXM86161_FIFO_DEPTH *MAXM86161_FIFO_DATA_SIZE] |
Scratch buffer for one FIFO drain in the INTB handler.
| struct iio_device* maxm86161_iio_desc::iio_dev |
IIO device structure registered with the IIO framework.
| struct no_os_irq_ctrl_desc* maxm86161_iio_desc::irq_ctrl |
IRQ controller — used to gate the INTB line during buffer resets.
| uint32_t maxm86161_iio_desc::irq_id |
IRQ id for the INTB line.
| uint32_t maxm86161_iio_desc::sample_ovf_count |
Samples dropped from buffer due to software overflow
| uint32_t maxm86161_iio_desc::samples_available |
Number of decoded samples currently queued in fifo_buf.
| void* maxm86161_iio_desc::samples_lock |
Mutex guarding samples_available across IRQ/submit contexts.