Function rawfifo_init
Defined in File rawfifo.h
Function Documentation
-
status_t rawfifo_init(struct rawfifo *fifo, void *buf, size_t max_elts, size_t elt_size)
Initialize the raw fifo structure. Note: this FIFO holds 1 less than the number of array/buffer elements specified by max_elts.
- Parameters:
fifo – The FIFO handle, to be filled.
buf – The provided space for the FIFO elements.
max_elts – The max # of elements in the FIFO.
elt_size – Size of elements in bytes.
- Returns: