Zephyr API 3.6.99
|
Scure packed buffer. More...
#include <pbuf.h>
Data Fields | |
const struct pbuf_cfg *const | cfg |
struct pbuf_data | data |
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.
const struct pbuf_cfg* const pbuf::cfg |
struct pbuf_data pbuf::data |