app_atfifo_s

nRF5 SDK v12.2.0

The FIFO instance. More...

#include <app_atfifo.h>

Data Fields

void * p_buf
Pointer to the data buffer.
nrf_atfifo_postag_t tail
Read and write tail position tag.
nrf_atfifo_postag_t head
Read and write head position tag.
uint16_t buf_size
FIFO size in number of bytes (has to be divisible by item_size )
uint16_t item_size
Size of single FIFO item.

Detailed Description

The FIFO instance.

The instance of atomic FIFO. Used with all FIFO functions.

  • components/libraries/atomic_fifo/app_atfifo.h