nrfxlib API 0.1.0
|
void nrf_802154_queue_init | ( | nrf_802154_queue_t * | p_queue, |
void * | p_memory, | ||
size_t | memory_size, | ||
size_t | item_size | ||
) |
Initializes a queue.
[in] | p_queue | Pointer to the queue instance to be initialized. Must not be NULL. |
[in] | p_memory | Pointer to a memory that will be used to store items of the queue. Must not be NULL. |
[in] | memory_size | Size of the memory pointed by p_memory . This parameter must be no less than 2 * item_size |
[in] | item_size | Size of an item of the queue. Must not be 0. |