5#ifndef __INC_FASTSPI_NOP_H
6#define __INC_FASTSPI_NOP_H
17template <u
int8_t _DATA_PIN, u
int8_t _CLOCK_PIN, u
int32_t _SPI_CLOCK_DIVIDER>
44 template <u
int8_t BIT>
inline static void writeBit(uint8_t b) { }
61 template <u
int8_t BIT>
inline static void writeBit(uint8_t b) { }
central include file for FastLED, defines the CFastLED class/object
A nop/stub class, mostly to show the SPI methods that are needed/used by the various SPI chipset impl...
void release()
release the CS select
void writeBytesValue(uint8_t value, int len)
A full cycle of writing a value for len bytes, including select, release, and waiting.
void writeWord(uint16_t w)
write a word out via SPI (returns immediately on writing register)
NOPSPIOutput()
Default Constructor.
void writePixels(PixelController< RGB_ORDER > pixels, void *context=NULL)
write out pixel data from the given PixelController object
NOPSPIOutput(Selectable *pSelect)
Constructor with selectable.
void waitFully()
wait until all queued up data has been written
void setSelect(Selectable *pSelect)
set the object representing the selectable
void writeBytes(uint8_t *data, int len)
A full cycle of writing a raw block of data out, including select, release, and waiting.
static void writeBytesValueRaw(uint8_t value, int len)
A raw set of writing byte values, assumes setup/init/waiting done elsewhere (static for use by adjust...
static void writeBit(uint8_t b)
not the most efficient mechanism in the world - but should be enough for sm16716 and friends
void init()
initialize the SPI subssytem
void select()
latch the CS select
void writeByte(uint8_t b)
write a byte out via SPI (returns immediately on writing register)
Abstract class for "selectable" things.
#define FASTLED_NAMESPACE_END
End of the FastLED namespace.
#define FASTLED_NAMESPACE_BEGIN
Start of the FastLED namespace.