nrf_ringbuf_t

nRF5 SDK v15.0.0

ring buffer instance structure. More...

#include <nrf_ringbuf.h>

Data Fields

uint8_t * p_buffer
Pointer to memory used by the ring buffer.
uint32_t bufsize_mask
Buffer size mask (buffer size must be power of 2).
nrf_ringbuf_cb_t * p_cb
Pointer to instance control block.

Detailed Description

ring buffer instance structure.

  • components/libraries/experimental_ringbuf/nrf_ringbuf.h