FastLED 3.10.8
Loading...
Searching...
No Matches

◆ end()

void fl::spi::ParallelDevice::end ( )

Shutdown hardware and release resources.

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

216 {
217 if (!pImpl || !pImpl->initialized) {
218 return;
219 }
220
221 // Wait for pending operations
222 waitComplete();
223
224 // Release backend
225 pImpl->releaseBackend();
226
227 FL_DBG("ParallelDevice: Shutdown complete");
228}
bool waitComplete(u32 timeout_ms=(fl::numeric_limits< u32 >::max)()) FL_NO_EXCEPT
Wait for pending transmission to complete.
fl::unique_ptr< Impl > pImpl
#define FL_DBG
Definition log.h:553

References FL_DBG, fl::FL_NO_EXCEPT, pImpl, and waitComplete().

Referenced by ~ParallelDevice(), and operator=().

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