nRF Connect SDK API 2.8.0
|
int data_fifo_num_used_get | ( | struct data_fifo * | data_fifo, |
uint32_t * | alloced_num, | ||
uint32_t * | locked_num ) |
#include <include/data_fifo.h>
See how many alloced and locked blocks are in the system.
data_fifo | Pointer to the data_fifo structure. |
alloced_num | Number of used blocks in the slab. |
locked_num | Number of used items in the message queue. |
0 | Success. |
-EACCES | Illegal combination of used message queue items and slabs. If an error occurs, parameters will be set to UINT32_MAX. |