Open Lighting Architecture
0.9.0
|
An SPI Backend which uses a software multipliexer. This accumulates all data into a single buffer and then writes it to the SPI bus.
Classes | |
struct | Options |
Public Member Functions | |
SoftwareBackend (const Options &options, SPIWriterInterface *writer, ExportMap *export_map) | |
bool | Init () |
uint8_t * | Checkout (uint8_t output, unsigned int length) |
uint8_t * | Checkout (uint8_t output, unsigned int length, unsigned int latch_bytes) |
void | Commit (uint8_t output) |
std::string | DevicePath () const |
Public Member Functions inherited from ola::thread::Thread | |
virtual bool | Start () |
virtual bool | FastStart () |
virtual bool | Join (void *ptr=NULL) |
bool | IsRunning () |
ThreadId | Id () const |
void * | _InternalRun () |
Protected Member Functions | |
void * | Run () |
Additional Inherited Members | |
Static Public Member Functions inherited from ola::thread::Thread | |
static ThreadId | Self () |
Static Protected Attributes inherited from ola::plugin::spi::SPIBackendInterface | |
static const char | SPI_DROP_VAR [] = "spi-drops" |
static const char | SPI_DROP_VAR_KEY [] = "device" |