Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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:
Inheritance graph
Collaboration diagram for ola::plugin::spi::SPIWriter:
Collaboration graph


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 ( )

Init the SPIWriter

false if initialization failed.

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

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