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

Method showPixels

src/platforms/arm/d21/clockless_arm_d21.h:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 virtual u16 getMaxRefreshRate() const { return 400; }
49
50 virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT {
51 mWait.wait();
52 cli();
53 if(!showRGBInternal(pixels)) {
54 sei(); delayMicroseconds(WAIT_TIME); cli();
55 showRGBInternal(pixels);
56 }
57 sei();
58 mWait.mark();
59 }
60
61 // This method is made static to force making register Y available to use for data on AVR - if the method is non-static, then
62 // gcc will use register Y for the this pointer.

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected