Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Multi producer, single consumer packet header . More...
Data Structures | |
struct | mpsc_pbuf_hdr |
Generic packet header. More... | |
struct | mpsc_pbuf_skip |
Skip packet used internally by the packet buffer. More... | |
union | mpsc_pbuf_generic |
Generic packet header. More... | |
Macros | |
#define | MPSC_PBUF_HDR_BITS 2 |
Number of bits in the first word which are used by the buffer. | |
#define | MPSC_PBUF_HDR |
Header that must be added to the first word in each packet. | |
Multi producer, single consumer packet header .
#define MPSC_PBUF_HDR |
#include <zephyr/sys/mpsc_packet.h>
Header that must be added to the first word in each packet.
This fields are controlled by the packet buffer and unless specified must not be used. Fields must be added at the top of the packet header structure.
#define MPSC_PBUF_HDR_BITS 2 |
#include <zephyr/sys/mpsc_packet.h>
Number of bits in the first word which are used by the buffer.