nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_802154_buffer_free()

void nrf_802154_buffer_free ( uint8_t *  p_data)

#include <nrf_802154/common/include/nrf_802154.h>

Notifies the driver that the buffer containing the received frame is not used anymore.

Note
The buffer pointed to by p_data may be modified by this function.
This function can be safely called only from the main context. To free the buffer from a callback or IRQ context, use nrf_802154_buffer_free_immediately.
This function is available if NRF_802154_USE_RAW_API is disabled.
Parameters
[in]p_dataPointer to the buffer containing the received data that is no longer needed by the higher layer.