Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cqe.h File Reference

RTIO Completion Queue Events and Related Functions. More...

#include <stdint.h>
#include <string.h>
#include <zephyr/sys/mpsc_lockfree.h>
#include <zephyr/sys/iterable_sections.h>

Go to the source code of this file.

Data Structures

struct  rtio_cqe
 A completion queue event. More...

Macros

#define RTIO_CQE_FLAG_MEMPOOL_BUFFER   BIT(0)
 The entry's buffer was allocated from the RTIO's mempool.
#define RTIO_CQE_FLAG_GET(flags)
#define RTIO_CQE_FLAG_MEMPOOL_GET_BLK_IDX(flags)
 Get the block index of a mempool flags.
#define RTIO_CQE_FLAG_MEMPOOL_GET_BLK_CNT(flags)
 Get the block count of a mempool flags.
#define RTIO_CQE_FLAG_PREP_MEMPOOL(blk_idx, blk_cnt)
 Prepare CQE flags for a mempool read.

Detailed Description

RTIO Completion Queue Events and Related Functions.