FastLED 3.10.8
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 251 of file parallel_device.cpp.hpp.

251 {
252 (void)timeout_ms; // Unused parameter - reserved for future implementation
253 if (!isReady()) {
254 return false;
255 }
256
257 // Wait implementation depends on backend type
258 // For ISR mode, check status flags
259 // For bit-bang mode, transmission is already complete (blocking)
260
261 return true; // Placeholder
262}
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: