FastLED 3.9.3
|
Dummy class for output controllers that need no data transformations.
Some of the SPI controllers will need to perform a transform on each byte before doing anything with it. Creating a class of this form and passing it in as a template parameter to writeBytes()/writeBytes3() will ensure that the body of this method will get called on every byte worked on.
Definition at line 36 of file fastspi_types.h.
#include <fastspi_types.h>
Static Public Member Functions | |
static FASTLED_FORCE_INLINE uint8_t | adjust (FASTLED_REGISTER uint8_t data) |
Hook called to adjust a byte of data before writing it to the output. | |
static FASTLED_FORCE_INLINE uint8_t | adjust (FASTLED_REGISTER uint8_t data, FASTLED_REGISTER uint8_t scale) |
Hook called to adjust a byte of data before writing it to the output. | |
static FASTLED_FORCE_INLINE void | postBlock (int, void *context=NULL) |
Hook called after a block of data is written to the output. | |
|
inlinestatic |
Hook called to adjust a byte of data before writing it to the output.
In this dummy version, no adjustment is made.
Definition at line 40 of file fastspi_types.h.
|
inlinestatic |
Hook called to adjust a byte of data before writing it to the output.
data | input byte |
scale | scale value |
Definition at line 46 of file fastspi_types.h.
|
inlinestatic |
Hook called after a block of data is written to the output.
In this dummy version, no action is performed.
Definition at line 50 of file fastspi_types.h.