A HardwareBackend which uses GPIO pins and an external de-multiplexer
|
| HardwareBackend (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 |
|
| Thread (const Options &options=Options()) |
| Create a new thread with the specified thread options.
|
|
virtual | ~Thread () |
| Destructor.
|
|
virtual bool | Start () |
| Start the thread and wait for the thread to be running.
|
|
virtual bool | FastStart () |
| Start the thread and return immediately.
|
|
virtual bool | Join (void *ptr=NULL) |
| Join this thread.
|
|
bool | IsRunning () |
| Check if the thread is running.
|
|
ThreadId | Id () const |
| Return the thread id.
|
|
std::string | Name () const |
| Return the thread name.
|
|
|
void * | Run () |
| The entry point for the new thread.
|
|
|
static ThreadId | Self () |
| Returns the current thread's id.
|
|
static const char | SPI_DROP_VAR [] = "spi-drops" |
|
static const char | SPI_DROP_VAR_KEY [] = "device" |
|
◆ Checkout() [1/2]
uint8_t * ola::plugin::spi::HardwareBackend::Checkout |
( |
uint8_t | output, |
|
|
unsigned int | length ) |
|
inlinevirtual |
◆ Checkout() [2/2]
uint8_t * ola::plugin::spi::HardwareBackend::Checkout |
( |
uint8_t | output, |
|
|
unsigned int | length, |
|
|
unsigned int | latch_bytes ) |
|
virtual |
◆ Commit()
void ola::plugin::spi::HardwareBackend::Commit |
( |
uint8_t | output | ) |
|
|
virtual |
◆ DevicePath()
std::string ola::plugin::spi::HardwareBackend::DevicePath |
( |
| ) |
const |
|
inlinevirtual |
◆ Init()
bool ola::plugin::spi::HardwareBackend::Init |
( |
| ) |
|
|
virtual |
◆ Run()
void * ola::plugin::spi::HardwareBackend::Run |
( |
| ) |
|
|
protectedvirtual |
The entry point for the new thread.
- Returns
- A value returned to Join().
Sub classes must implement this.
Implements ola::thread::Thread.
The documentation for this class was generated from the following files: