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.
- components/libraries/experimental_ringbuf/nrf_ringbuf.h