Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Scure packed buffer. More...

#include <pbuf.h>

Data Fields

const struct pbuf_cfg *const cfg
 
struct pbuf_data data
 

Detailed Description

Scure packed buffer.

The packet buffer implements lightweight unidirectional packet buffer with read/write semantics on top of a memory region shared by the reader and writer. It embeds cache and memory barrier management to ensure correct data access.

This structure supports single writer and reader. Data stored in the buffer is encapsulated to a message (with length header). The read/write API is written in a way to protect the data from being corrupted.

Field Documentation

◆ cfg

const struct pbuf_cfg* const pbuf::cfg

◆ data

struct pbuf_data pbuf::data

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