![]() |
nrfxlib API 3.3.99
|
| void nrf_802154_notification_queue_flush | ( | void | ) |
#include <nrf_802154/driver/src/nrf_802154_notification.h>
Flushes the notification queue.
The function drains the queue without calling nrf_802154_co_* functions. For NTF_TYPE_RECEIVED, it frees the RX frame buffer via nrf_802154_buffer_free_raw. For NTF_TYPE_TRANSMITTED, it frees the ACK buffer when one is present, also through nrf_802154_buffer_free_raw. Other notification types are discarded from the notification queue. Call this function after nrf_802154_notification_block_all_notifications to avoid enqueuing new notifications in parallel with the flush.