nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_gzll_flush_tx_fifo()

bool nrf_gzll_flush_tx_fifo ( uint32_t  pipe)

#include <gzll/include/nrf_gzll.h>

Flush the RX FIFO for a specific pipe.

Delete all the packets and free the memory of the TX FIFO for a specific pipe.

Note that it is not allowed to flush a TX FIFO when Gazell is enabled.

Parameters
pipeis the pipe for which to flush. This value must be < NRF_GZLL_CONST_PIPE_COUNT.
Return values
trueif the pipe was flushed.
falseif the pipe was not flushed.