nrf_ringbuf_t

nRF5 SDK v15.2.0

Ring buffer instance structure. More...

#include <nrf_ringbuf.h>

Data Fields

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

Detailed Description

Ring buffer instance structure.

  • components/libraries/ringbuf/nrf_ringbuf.h