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

Macros

#define SPSC_PBUF_CACHE   BIT(0)
 Flag indicating that cache shall be handled.
 
#define SPSC_PBUF_UTILIZATION_BITS   24
 Size of the field which stores maximum utilization.
 
#define SPSC_PBUF_UTILIZATION_OFFSET   8
 Offset of the field which stores maximum utilization.
 

Detailed Description

Macro Definition Documentation

◆ SPSC_PBUF_CACHE

#define SPSC_PBUF_CACHE   BIT(0)

#include <zephyr/sys/spsc_pbuf.h>

Flag indicating that cache shall be handled.

It shall be used only when packet buffer is shared between two cores as on a single core cache shall not be handled manually because it results in data corruption.

◆ SPSC_PBUF_UTILIZATION_BITS

#define SPSC_PBUF_UTILIZATION_BITS   24

#include <zephyr/sys/spsc_pbuf.h>

Size of the field which stores maximum utilization.

◆ SPSC_PBUF_UTILIZATION_OFFSET

#define SPSC_PBUF_UTILIZATION_OFFSET   8

#include <zephyr/sys/spsc_pbuf.h>

Offset of the field which stores maximum utilization.