FastLED 3.10.10
Loading...
Searching...
No Matches

◆ setPollNeededCallback()

void fl::SpiChannelEngineAdapter::setPollNeededCallback ( PollNeededCallback callback)
overridevirtual

Install the manager-owned poll-needed callback for ISR wakeups.

Implementations that can signal from an ISR should store this callback and invoke it after updating their own state. Implementations without such a signal can ignore it; the manager will still make progress via bounded timeout slices.

Reimplemented from fl::IChannelDriver.

Definition at line 316 of file spi_channel_adapter.cpp.hpp.

316 {
317 mPollNeededCallback.set(callback);
318}
PollNeededCallbackSlot mPollNeededCallback

References fl::FL_NO_EXCEPT, and mPollNeededCallback.