Data FIFO
This library combines the Zephyr memory slab and message queue mechanisms. The purpose is to be able to allocate a memory slab, use it, and signal to a receiver when the write operation has completed. The reader can then read and free the memory slab when done. For more information, see API documentation.
Configuration
To enable the library, set the CONFIG_DATA_FIFO
Kconfig option to y
in the project configuration file prj.conf
.
API documentation
Header file:
include/data_fifo.h
Source file:
lib/data_fifo/data_fifo.c