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

Method showPixels

src/platforms/arm/lpc/clockless_arm_lpc.h:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 virtual u16 getMaxRefreshRate() const { return 400; }
61
62 virtual void showPixels(PixelController<RGB_ORDER>& pixels) FL_NOEXCEPT {
63 mWait.wait();
64 cli();
65 if (!showRGBInternal(pixels)) {
66 sei();
67 delayMicroseconds(WAIT_TIME);
68 cli();
69 showRGBInternal(pixels);
70 }
71 sei();
72 mWait.mark();
73 }
74
75 static u32 showRGBInternal(PixelController<RGB_ORDER> pixels) FL_NOEXCEPT {
76 struct M0ClocklessData data;

Callers

nothing calls this directly

Calls 5

markMethod · 0.80
delayMicrosecondsFunction · 0.70
cliFunction · 0.50
showRGBInternalFunction · 0.50
waitMethod · 0.45

Tested by

no test coverage detected