FastLED 3.10.8
Loading...
Searching...
No Matches

◆ releaseChannel()

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

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

221 {
222 if (!ch || ch->pin < 0) return;
223
225
226 {
228 ch->pin = -1;
230 ch->frequency_hz = 0;
231 ch->duty_cycle = 0;
232 }
233
235}
RAII helper for critical sections (interrupt disable/enable) Automatically disables interrupts on con...
void maybeShutdownIsr() FL_NO_EXCEPT
Definition pin.cpp.hpp:210
@ 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: