PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
fifo_t Struct Reference

FIFO Buffer. More...

#include <fifo.h>

Collaboration diagram for fifo_t:

Data Fields

uint8_tbuffer
 Pointer to the buffer memory.
 
size_t size
 The total size of the buffer.
 
size_t head
 The position to write to.
 
size_t tail
 The position to start reading from.
 

Detailed Description

FIFO Buffer.

Definition at line 19 of file fifo.h.

Field Documentation

◆ buffer

uint8_t* fifo_t::buffer

Pointer to the buffer memory.

Definition at line 21 of file fifo.h.

◆ size

size_t fifo_t::size

The total size of the buffer.

Definition at line 22 of file fifo.h.

◆ head

size_t fifo_t::head

The position to write to.

Definition at line 23 of file fifo.h.

◆ tail

size_t fifo_t::tail

The position to start reading from.

Definition at line 24 of file fifo.h.


The documentation for this struct was generated from the following file: