no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
no_os_lf256fifo.h
Go to the documentation of this file.
1/***************************************************************************/
34
35#ifndef __LFFIFO_H
36#define __LFFIFO_H
37
38#include <stdlib.h>
39#include <stdint.h>
40#include <stdbool.h>
41
42struct lf256fifo;
43
44int lf256fifo_init(struct lf256fifo **);
45bool lf256fifo_is_full(struct lf256fifo *);
46bool lf256fifo_is_empty(struct lf256fifo *);
47int lf256fifo_read(struct lf256fifo *, uint8_t *);
48int lf256fifo_write(struct lf256fifo *, uint8_t);
49void lf256fifo_flush(struct lf256fifo *);
50void lf256fifo_remove(struct lf256fifo *fifo);
51
52#endif
53
void lf256fifo_remove(struct lf256fifo *fifo)
int lf256fifo_write(struct lf256fifo *, uint8_t)
void lf256fifo_flush(struct lf256fifo *)
bool lf256fifo_is_empty(struct lf256fifo *)
bool lf256fifo_is_full(struct lf256fifo *)
int lf256fifo_init(struct lf256fifo **)
int lf256fifo_read(struct lf256fifo *, uint8_t *)