Pointer-Array-FIFO Buffer Manager
In many cases, there will be a need to submit pointers in an order and consume them. For example, a originator module can push transmit data pointers to a buffer and sender module can get it and transmit it. In such cases, Pointer-Array-backed-FIFO can be used.
The rs_pointer_fifo_buf_mgr_init function can be used to initialize the manger with the starting address of the pre-allocated array with the number of elements that can be stored. When a pointer has to be pushed in, rs_pointer_fifo_buf_mgr_push can be called. The other module can use rs_pointer_fifo_buf_mgr_pop to pop-out the same.
Pointer-FIFO Buffer Manager Header
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_pointer_fifo_buf_mgr.h