FastLED 3.9.15
Loading...
Searching...
No Matches

◆ end()

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

Shutdown hardware and release resources.

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

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

References FL_DBG, pImpl, and waitComplete().

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

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