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

Method showPixels

src/platforms/arm/k66/clockless_arm_k66.h:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59protected:
60 virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT {
61 mWait.wait();
62 if(!showRGBInternal(pixels)) {
63 sei(); delayMicroseconds(WAIT_TIME); cli();
64 showRGBInternal(pixels);
65 }
66 mWait.mark();
67 }
68
69 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 {
70 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