nrfxlib API 2.8.99
|
void * nrf_802154_queue_push_begin | ( | const nrf_802154_queue_t * | p_queue | ) |
Returns pointer to the next item to be written to the queue.
This function is to be used when writing data to the queue directly (no copy). Returned pointer is valid when the queue is not full (nrf_802154_queue_is_full returned false). To write an item to the queue perform following.
To ensure thread-safety external locking is required.
[in] | p_queue | Pointer to the queue instance. |