Go to the source code of this file.
Defines | |
| #define | DEFINE_FIFO(_name, _ptr, _size) |
| Define a static fifo buffer. | |
Functions | |
| bool | fifo_isempty (const FIFOBuffer *fb) |
| Check whether the fifo is empty. | |
| bool | fifo_isfull (const FIFOBuffer *fb) |
| Check whether the fifo is full. | |
| void | fifo_push (FIFOBuffer *fb, unsigned char c) |
| Push a character on the fifo buffer. | |
| unsigned char | fifo_pop (FIFOBuffer *fb) |
| Pop a character from the fifo buffer. | |
| void | fifo_flush (FIFOBuffer *fb) |
| Make the fifo empty, discarding all its current contents. | |
| bool | fifo_isempty_locked (const FIFOBuffer *fb) |
| Similar to fifo_isempty(), but with stronger guarantees for concurrent access between user and interrupt code. | |
| void | fifo_push_locked (FIFOBuffer *fb, unsigned char c) |
| Similar to fifo_push(), but with stronger guarantees for concurrent access between user and interrupt code. | |
| void | fifo_flush_locked (FIFOBuffer *fb) |
| Similar to fifo_flush(), but with stronger guarantees for concurrent access between user and interrupt code. | |
| bool | fifo_isfull_locked (const FIFOBuffer *_fb) |
| Thread safe version of fifo_isfull() | |
| void | fifo_init (FIFOBuffer *fb, unsigned char *buf, size_t size) |
| FIFO Initialization. | |
| size_t | fifo_len (FIFOBuffer *fb) |
Detailed Description
Definition in file fifobuf.h.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)