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

◆ poll()

virtual DriverState fl::IChannelDriver::poll ( )
pure virtual

Query driver state and perform maintenance.

Returns
DriverState containing state and optional error message
Note
Non-blocking. Returns immediately with current hardware status.
Implementations should use this to:
  • Check hardware transmission status
  • Clear channel "in use" flags when transmission completes
  • Return error message via DriverState when state == ERROR

Implemented in fl::anonymous_namespace{channel.cpp.hpp}::StubChannelEngine, and fl::SpiChannelEngineAdapter.

References FL_NOEXCEPT, and poll().

Referenced by poll(), waitForReady(), and waitForReadyOrDraining().

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