VSF Documented
|
Macros | |
#define | __VSF_FIFO_CLASS_IMPLEMENT |
#define | VSF_FIFO_CFG_PROTECT_LEVEL interrupt |
#define | __vsf_fifo_protect vsf_protect(VSF_FIFO_CFG_PROTECT_LEVEL) |
#define | __vsf_fifo_unprotect vsf_unprotect(VSF_FIFO_CFG_PROTECT_LEVEL) |
#define __VSF_FIFO_CLASS_IMPLEMENT |
#define VSF_FIFO_CFG_PROTECT_LEVEL interrupt |
#define __vsf_fifo_protect vsf_protect(VSF_FIFO_CFG_PROTECT_LEVEL) |
#define __vsf_fifo_unprotect vsf_unprotect(VSF_FIFO_CFG_PROTECT_LEVEL) |
void vsf_fifo_init | ( | vsf_fifo_t * | fifo, |
vsf_fifo_fast_index_t | fifo_depth | ||
) |
bool vsf_fifo_push | ( | vsf_fifo_t * | fifo, |
uintptr_t | item, | ||
vsf_fifo_fast_item_size_t | item_size | ||
) |
bool vsf_fifo_pop | ( | vsf_fifo_t * | fifo, |
uintptr_t | item, | ||
vsf_fifo_fast_item_size_t | item_size | ||
) |
uintptr_t vsf_fifo_get_head | ( | vsf_fifo_t * | fifo, |
vsf_fifo_fast_item_size_t | item_size | ||
) |
uintptr_t vsf_fifo_get_tail | ( | vsf_fifo_t * | fifo, |
vsf_fifo_fast_item_size_t | item_size | ||
) |
vsf_fifo_index_t vsf_fifo_get_number | ( | vsf_fifo_t * | fifo | ) |