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

Function enablePluClock

src/platforms/arm/lpc/clockless_arm_lpc_plu.h:154–157  ·  view source on GitHub ↗

Enable PLU peripheral clock (SYSCON->SYSAHBCLKCTRL0 bit 18).

Source from the content-addressed store, hash-verified

152
153// Enable PLU peripheral clock (SYSCON->SYSAHBCLKCTRL0 bit 18).
154static inline void enablePluClock() FL_NOEXCEPT {
155 volatile fl::u32* p = reg32(kSysconBase, kOffSysahbclkctrl0);
156 *p = *p | kSysconPluClkBit;
157}
158
159// -----------------------------------------------------------------------------
160// PLU LUT graph for WS2812 bit shaping

Callers 1

initPluGraphFunction · 0.85

Calls 1

reg32Function · 0.85

Tested by

no test coverage detected