no-OS
no_os_lf256fifo.h
Go to the documentation of this file.
1 /***************************************************************************/
41 #ifndef __LFFIFO_H
42 #define __LFFIFO_H
43 
44 #include <stdlib.h>
45 #include <stdint.h>
46 #include <stdbool.h>
47 
48 struct lf256fifo;
49 
50 int lf256fifo_init(struct lf256fifo **);
51 bool lf256fifo_is_full(struct lf256fifo *);
52 bool lf256fifo_is_empty(struct lf256fifo *);
53 int lf256fifo_read(struct lf256fifo *, uint8_t *);
54 int lf256fifo_write(struct lf256fifo *, uint8_t);
55 void lf256fifo_flush(struct lf256fifo *);
56 void lf256fifo_remove(struct lf256fifo *fifo);
57 
58 #endif
59 
lf256fifo_remove
void lf256fifo_remove(struct lf256fifo *fifo)
lf256fifo_flush
void lf256fifo_flush(struct lf256fifo *)
lf256fifo_init
int lf256fifo_init(struct lf256fifo **)
lf256fifo_is_empty
bool lf256fifo_is_empty(struct lf256fifo *)
lf256fifo_read
int lf256fifo_read(struct lf256fifo *, uint8_t *)
lf256fifo_write
int lf256fifo_write(struct lf256fifo *, uint8_t)
lf256fifo_is_full
bool lf256fifo_is_full(struct lf256fifo *)