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

◆ maybeShutdownIsr()

void fl::pwm_state::maybeShutdownIsr ( )

Definition at line 195 of file pin.cpp.hpp.

195 {
196 PwmStateData& st = state();
197 if (!st.isr_active) return;
198 if (countIsrChannels() > 0) return;
199
201 st.isr_active = false;
202}
int detach_handler(handle &h)
Detach an ISR handler.
u8 countIsrChannels()
Definition pin.cpp.hpp:163
PwmStateData & state()
Definition pin.cpp.hpp:109
fl::isr::handle isr_handle
Definition pin.cpp.hpp:102

References countIsrChannels(), fl::isr::detach_handler(), fl::pwm_state::PwmStateData::isr_active, fl::pwm_state::PwmStateData::isr_handle, and state().

Referenced by releaseChannel().

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