nrf_fifo_t

nRF5 SDK v15.0.0

FIFO data structure. More...

#include <nrf_fifo.h>

Data Fields

void ** pp_elements
uint32_t nmemb
fifo_wait_fn wait
fifo_flush_fn flush
volatile uint32_t read_pos
volatile uint32_t write_pos

Detailed Description

FIFO data structure.

Field Documentation

fifo_flush_fn nrf_fifo_t::flush

The flush function used on deinit.

uint32_t nrf_fifo_t::nmemb

The number of elements in this FIFO.

void** nrf_fifo_t::pp_elements

The array of elements in the FIFO.

volatile uint32_t nrf_fifo_t::read_pos

Read pointer to next element to read.

fifo_wait_fn nrf_fifo_t::wait

The wait function used if blocking.

volatile uint32_t nrf_fifo_t::write_pos

Write pointer to next element to write.

  • components/iot/socket/libraries/fifo/nrf_fifo.h