nrfxlib API 0.1.0
|
bool nrf_802154_trx_receive_is_buffer_missing | ( | void | ) |
Checks if current receive operation was started without providing receive buffer.
It may happen that nrf_802154_trx_receive_frame or nrf_802154_trx_receive_ack have been started when there was no receive buffer set. The RADIO peripheral will start ramping up, but it will remain in RXIDLE
state, because of missing receive buffer. This function allows to check if such situation occurred.
Usually this function may be called by buffer management subsystem when buffer becomes available. Consider following code snippet:
true | When in receive mode and receive buffer is missing |
false | Otherwise. |