konashi/SBBLEのテスト
Fork of BLE_LoopbackUART by
app_fifo_t Struct Reference
[FIFO implementation]
A FIFO instance structure. More...
#include <app_fifo.h>
Data Fields | |
uint8_t * | p_buf |
Pointer to FIFO buffer memory. | |
uint16_t | buf_size_mask |
Read/write index mask. | |
volatile uint32_t | read_pos |
Next read position in the FIFO buffer. | |
volatile uint32_t | write_pos |
Next write position in the FIFO buffer. |
Detailed Description
A FIFO instance structure.
Keeps track of which bytes to read and write next. Also it keeps the information about which memory is allocated for the buffer and its size. This needs to be initialized by app_fifo_init() before use.
Definition at line 33 of file app_fifo.h.
Field Documentation
uint16_t buf_size_mask |
uint8_t* p_buf |
Pointer to FIFO buffer memory.
Definition at line 35 of file app_fifo.h.
volatile uint32_t read_pos |
Next read position in the FIFO buffer.
Definition at line 37 of file app_fifo.h.
volatile uint32_t write_pos |
Next write position in the FIFO buffer.
Definition at line 38 of file app_fifo.h.
Generated on Tue Jul 12 2022 20:35:47 by 1.7.2