SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches

◆ WaitRxf()

bool SRL::DevCart::CS0::WaitRxf ( uint32_t maxPolls = 0)
inlinestatic

Waits until data is available in the receive FIFO, with timeout Polls IsRxfEmpty() until it returns false. If maxPolls is non-zero and reached first, the function returns false to signal timeout.

Parameters
maxPollsMaximum number of polling iterations while FIFO is empty (0 for infinite wait)
Returns
true if data became available before timeout, false otherwise