Zephyr API Documentation  3.7.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rtio Struct Reference

An RTIO context containing what can be viewed as a pair of queues. More...

#include <rtio.h>

Data Fields

atomic_t cq_count
 
atomic_t xcqcnt
 
struct rtio_sqe_poolsqe_pool
 
struct rtio_cqe_poolcqe_pool
 
struct mpsc sq
 
struct mpsc cq
 

Detailed Description

An RTIO context containing what can be viewed as a pair of queues.

A queue for submissions (available and in queue to be produced) as well as a queue of completions (available and ready to be consumed).

The rtio executor along with any objects implementing the rtio_iodev interface are the consumers of submissions and producers of completions.

No work is started until rtio_submit() is called.

Field Documentation

◆ cq

struct mpsc rtio::cq

◆ cq_count

atomic_t rtio::cq_count

◆ cqe_pool

struct rtio_cqe_pool* rtio::cqe_pool

◆ sq

struct mpsc rtio::sq

◆ sqe_pool

struct rtio_sqe_pool* rtio::sqe_pool

◆ xcqcnt

atomic_t rtio::xcqcnt

The documentation for this struct was generated from the following file: