FastLED 3.10.10
Loading...
Searching...
No Matches

◆ waitComplete()

bool fl::spi::ParallelDevice::waitComplete ( u32 timeout_ms = (fl::numeric_limits<u32>::max)())

Wait for pending transmission to complete.

Parameters
timeout_msMaximum time to wait (default: forever)
Returns
true if completed, false on timeout

Definition at line 259 of file parallel_device.cpp.hpp.

259 {
260 (void)timeout_ms; // Unused parameter - reserved for future implementation
261 if (!isReady()) {
262 return false;
263 }
264
265 // Wait implementation depends on backend type
266 // For ISR mode, check status flags
267 // For bit-bang mode, transmission is already complete (blocking)
268
269 return true; // Placeholder
270}
bool isReady() const FL_NO_EXCEPT
Check if device is initialized.

References fl::FL_NO_EXCEPT, and isReady().

Referenced by end(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: