FastLED 3.10.9
Loading...
Searching...
No Matches

◆ releaseChannel()

void fl::pwm_state::releaseChannel ( PwmPinState * ch)

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

225 {
226 if (!ch || ch->pin < 0) return;
227
229
230 {
232 ch->pin = -1;
234 ch->frequency_hz = 0;
235 ch->duty_cycle = 0;
236 }
237
239}
RAII helper for critical sections (interrupt disable/enable) Automatically disables interrupts on con...
void maybeShutdownIsr() FL_NO_EXCEPT
Definition pin.cpp.hpp:214
@ Low
Logic low (0V / GND)
Definition pin.h:51
void digitalWrite(int pin, PinValue val) FL_NO_EXCEPT
Write digital value to pin.
Definition pin.cpp.hpp:51

References fl::digitalWrite(), fl::FL_NO_EXCEPT, fl::Low, maybeShutdownIsr(), and None.

Referenced by fl::pinMode(), fl::pwmEnd(), and fl::setPwmFrequency().

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