FastLED 3.9.15
Loading...
Searching...
No Matches

◆ loadByte() [1/2]

template<EOrder RGB_ORDER, int LANES = 1, uint32_t MASK = 0xFFFFFFFF>
template<int SLOT>
static FASTLED_FORCE_INLINE uint8_t PixelController< RGB_ORDER, LANES, MASK >::loadByte ( PixelController< RGB_ORDER, LANES, MASK > & pc)
inlinestatic

Read a byte of LED data.

Template Parameters
SLOTThe data slot in the output stream. This is used to select which byte of the output stream is being processed.
Parameters
pcreference to the pixel controller

Definition at line 335 of file pixel_controller.h.

335{ return pc.mData[RO(SLOT)]; }
#define RO(X)
Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) t...
const uint8_t * mData
pointer to the underlying LED data
Pixel controller class.

References PixelController(), FASTLED_FORCE_INLINE, mData, and RO.

Referenced by loadAndScale(), loadAndScale(), loadAndScale(), and loadAndScale().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: