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

Function kXferCount

src/platforms/arm/lpc/rx_sct_capture.cpp.hpp:182–182  ·  view source on GitHub ↗

[15:14] DSTINC = +1 width

Source from the content-addressed store, hash-verified

180constexpr fl::u32 kXferSrcIncOff = (0u << 12); // [13:12] SRCINC
181constexpr fl::u32 kXferDstInc1 = (1u << 14); // [15:14] DSTINC = +1 width
182constexpr fl::u32 kXferCount(fl::u32 n) { return ((n - 1u) & 0x3FFu) << 16; } // [25:16]
183
184// EV CTRL builder for "input-capture on SCT input N, edge E"
185constexpr fl::u32 evCtrlInputCapture(fl::u32 iosel, fl::u32 iocond) {

Callers 1

beginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected