Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Macros | |
#define | MPSC_PBUF_SIZE_POW2 BIT(0) |
Flag indicating that buffer size is power of 2. | |
#define | MPSC_PBUF_MODE_OVERWRITE BIT(1) |
Flag indicating buffer full policy. | |
#define | MPSC_PBUF_MAX_UTILIZATION BIT(2) |
Flag indicating that maximum buffer usage is tracked. | |
#define | MPSC_PBUF_FULL BIT(3) |
Flag indicated that buffer is currently full. | |
#define MPSC_PBUF_FULL BIT(3) |
#include <zephyr/sys/mpsc_pbuf.h>
Flag indicated that buffer is currently full.
#define MPSC_PBUF_MAX_UTILIZATION BIT(2) |
#include <zephyr/sys/mpsc_pbuf.h>
Flag indicating that maximum buffer usage is tracked.
#define MPSC_PBUF_MODE_OVERWRITE BIT(1) |
#include <zephyr/sys/mpsc_pbuf.h>
Flag indicating buffer full policy.
If flag is set then when allocating from a full buffer oldest packets are dropped. When flag is not set then allocation returns null.
#define MPSC_PBUF_SIZE_POW2 BIT(0) |
#include <zephyr/sys/mpsc_pbuf.h>
Flag indicating that buffer size is power of 2.
When buffer size is power of 2 then optimizations are applied.