MCPcopy Create free account
hub / github.com/FastLED/FastLED / setPollNeededCallback

Method setPollNeededCallback

src/fl/channels/driver.h:240–242  ·  view source on GitHub ↗

@brief 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.

Source from the content-addressed store, hash-verified

238 /// such a signal can ignore it; the manager will still make progress via
239 /// bounded timeout slices.
240 virtual void setPollNeededCallback(PollNeededCallback callback) FL_NOEXCEPT {
241 (void)callback;
242 }
243
244 /// @brief Block until this driver finishes any in-flight transmit.
245 ///

Callers 4

manager.cpp.hppFile · 0.45
addDriverMethod · 0.45
removeDriverMethod · 0.45
clearAllDriversMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected