nRF5 SDK v15.2.0
Data Fields
nrf_ringbuf_cb_t Struct Reference

Ring buffer instance control block. More...

#include <nrf_ringbuf.h>

Data Fields

nrf_atomic_flag_t wr_flag
 Protection flag.
nrf_atomic_flag_t rd_flag
 Protection flag.
uint32_t wr_idx
 Write index (updated when putting).
uint32_t tmp_wr_idx
 Temporary write index (updated when allocating).
uint32_t rd_idx
 Read index (updated when freeing).
uint32_t tmp_rd_idx
 Temporary read index (updated when getting).

Detailed Description

Ring buffer instance control block.

The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated