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

Function writeOutputMux

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

OUTPUTm_MUX write helper. Selects which LUT drives PLU_OUTm.

Source from the content-addressed store, hash-verified

147
148// OUTPUTm_MUX write helper. Selects which LUT drives PLU_OUTm.
149static inline void writeOutputMux(fl::u8 out_idx, fl::u8 lut_sel) FL_NOEXCEPT {
150 *reg32(kPluBase, kOffOutputMux0 + (fl::u32(out_idx) << 2)) = lut_sel;
151}
152
153// Enable PLU peripheral clock (SYSCON->SYSAHBCLKCTRL0 bit 18).
154static inline void enablePluClock() FL_NOEXCEPT {

Callers 1

initPluGraphFunction · 0.85

Calls 2

reg32Function · 0.85
u32Enum · 0.50

Tested by

no test coverage detected