FIFO implementation. More...
#include "fifo.h"
#include "rtc.h"
Functions | |
void | fifo_init (fifo_t *f, fifo_item_t *buffer, fifo_size_t size) |
initialize FIFO state | |
fifo_item_t | fifo_get_item (fifo_t *f) |
get from FIFO | |
void | fifo_put_item (fifo_t *f, fifo_item_t c) |
put into FIFO |
FIFO implementation.
void fifo_init | ( | fifo_t * | fifo, | |
fifo_item_t * | buffer, | |||
fifo_size_t | size | |||
) |