nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_queue_init()

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.

Parameters
[in]p_queuePointer to the queue instance to be initialized. Must not be NULL.
[in]p_memoryPointer to a memory that will be used to store items of the queue. Must not be NULL.
[in]memory_sizeSize of the memory pointed by p_memory. This parameter must be no less than 2 * item_size
[in]item_sizeSize of an item of the queue. Must not be 0.