FastLED 3.10.8
Loading...
Searching...
No Matches

◆ digitalMultiWrite16()

void fl::digitalMultiWrite16 ( const Pins16 & pins,
fl::span< const u16 > pin_data )

Convenience free function — creates a temporary DigitalMultiWrite16, initializes it, and writes.

For repeated writes, prefer the class directly to amortize the LUT build cost.

Definition at line 380 of file pins.cpp.hpp.

380 {
381 DigitalMultiWrite16 writer;
382 writer.init(pins);
383 writer.write(pin_data);
384}
int pins[]
Definition Spi.ino:11
void init(const Pins16 &pins) FL_NO_EXCEPT
Initialize from 16 pin numbers. -1 means "skip this bit position".
Definition pins.cpp.hpp:273
void write(fl::span< const u16 > pin_data) const FL_NO_EXCEPT
Write pre-transposed 16-bit data to the 16 pins.
Definition pins.cpp.hpp:323
Pre-computed nibble LUT for fast 16-pin digital writes.
Definition pins.h:93

References FL_NO_EXCEPT, fl::DigitalMultiWrite16::init(), pins, and fl::DigitalMultiWrite16::write().

+ Here is the call graph for this function: