FastLED 3.10.6
Loading...
Searching...
No Matches

◆ create() [1/2]

ChannelDataPtr fl::ChannelData::create ( const ChipsetVariant & chipset,
fl::vector_psram< u8 > && encodedData = fl::vector_psram<u8>(),
ChannelPixelFormat pixelFormat = ChannelPixelFormat::RGB )
static

Create channel transmission data (modern variant-based API)

Parameters
chipsetChipset configuration (clockless or SPI)
encodedDataEncoded byte stream ready for transmission (defaults to empty)

Definition at line 12 of file data.cpp.hpp.

16 {
18 chipset, fl::move(encodedData), pixelFormat);
19}
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:28
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
Definition shared_ptr.h:414

References fl::FL_NO_EXCEPT, fl::make_shared(), and fl::move().

Referenced by fl::Channel::Channel(), fl::Channel::Channel(), fl::SlimBridgeController< DATA_PIN, TIMING, RGB_ORDER, WAIT_TIME, DriverTraits, XTRA0, DIRECT_SHOW >::SlimBridgeController(), and fl::SlimSpiBridgeController< CHIPSET, RGB_ORDER, B, B_WHICH >::SlimSpiBridgeController().

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