Open Lighting Architecture  0.9.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
ola::plugin::spi::SPIWriter Class Reference

Detailed Description

The SPI Writer, this writes data to a SPI device

Inheritance diagram for ola::plugin::spi::SPIWriter:
ola::plugin::spi::SPIWriterInterface

Classes

struct  Options

Public Member Functions

 SPIWriter (const std::string &spi_device, const Options &options, ExportMap *export_map)
std::string DevicePath () const
bool Init ()
bool WriteSPIData (const uint8_t *data, unsigned int length)

Member Function Documentation

bool ola::plugin::spi::SPIWriter::Init ( )
virtual

Init the SPIWriter

Returns
false if initialization failed.

Implements ola::plugin::spi::SPIWriterInterface.


The documentation for this class was generated from the following files: