FastLED 3.9.15
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 252 of file parallel_device.cpp.hpp.

252 {
253 (void)timeout_ms; // Unused parameter - reserved for future implementation
254 if (!isReady()) {
255 return false;
256 }
257
258 // Wait implementation depends on backend type
259 // For ISR mode, check status flags
260 // For bit-bang mode, transmission is already complete (blocking)
261
262 return true; // Placeholder
263}
bool isReady() const
Check if device is initialized.

References isReady().

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

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