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

Function writeLutTruth

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

LUTn_TRUTH[n] write helper.

Source from the content-addressed store, hash-verified

132
133// LUTn_TRUTH[n] write helper.
134static inline void writeLutTruth(fl::u8 lut, fl::u32 truth_table) FL_NOEXCEPT {
135 *reg32(kPluBase, kOffLutTruth0 + (fl::u32(lut) << 2)) = truth_table;
136}
137
138// LUTn_INP_MUX[m] write helper.
139// sel: 0..5 -> primary input PLU_IN0..PLU_IN5

Callers 1

initPluGraphFunction · 0.85

Calls 2

reg32Function · 0.85
u32Enum · 0.50

Tested by

no test coverage detected