nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
◆
esb_flush_tx()
int esb_flush_tx
(
void
)
#include <
esb.h
>
Flush the TX buffer.
This function clears the TX FIFO buffer.
Note
The radio must not be in transmission state for this operation to succeed. This requirement prevents erroneous operations on the FIFO queue that could occur if the buffer is cleared while the radio is transmitting.
Return values
0
If successful (FIFO cleared).
-EACCES
If ESB is not initialized.
-EBUSY
If radio is transmitting.
Enhanced ShockBurst
Generated on
for nRF Connect SDK API by
1.17.0