nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
app_fifo_t Struct Reference

Data Fields

uint8_t * p_buf
 
uint16_t buf_size_mask
 
volatile uint32_t read_pos
 
volatile uint32_t write_pos
 

Field Documentation

uint8_t* p_buf

Pointer to FIFO buffer memory.

uint16_t buf_size_mask

Read/write index mask. Also used for size checking.

volatile uint32_t read_pos

Next read position in the FIFO buffer.

volatile uint32_t write_pos

Next write position in the FIFO buffer.