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

Method showPixels

src/platforms/arm/d51/clockless_arm_d51.h:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62protected:
63 virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT {
64 mWait.wait();
65 if(!showRGBInternal(pixels)) {
66 sei(); delayMicroseconds(WAIT_TIME); cli();
67 showRGBInternal(pixels);
68 }
69 mWait.mark();
70 }
71
72 template<int BITS> __attribute__ ((always_inline)) inline static void writeBits(FASTLED_REGISTER u32 & next_mark, FASTLED_REGISTER data_ptr_t port, FASTLED_REGISTER data_t hi, FASTLED_REGISTER data_t lo, FASTLED_REGISTER u8 & b) FL_NOEXCEPT {
73 for(FASTLED_REGISTER u32 i = BITS-1; i > 0; --i) {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected