|
FastLED 3.9.15
|
ISR-safe callback handle invoked when the manager should poll again.
ChannelManager installs this callback on every driver and owns the corresponding wait primitive. A driver may call it from an ISR when a chunk, batch, or transfer changed state. It does not imply READY; it only means the manager should wake and poll. Drivers that do not have such a signal leave this unused; the manager's timed wait slice is the fallback.
#include <driver.h>
Public Types | |
| using | Callback = void (*)(void*) FL_NOEXCEPT |
Public Member Functions | |
| constexpr | PollNeededCallback () FL_NOEXCEPT=default |
| constexpr | PollNeededCallback (Callback cb, void *ctx) FL_NOEXCEPT |
| void | invoke () const FL_NOEXCEPT |
| bool | isValid () const FL_NOEXCEPT |
| operator bool () const FL_NOEXCEPT | |
Public Attributes | |
| Callback | callback = nullptr |
| void * | context = nullptr |