Open Lighting Architecture  Latest Git
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
[legend]
Collaboration diagram for ola::plugin::spi::SPIWriter:
Collaboration graph
[legend]

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

◆ Init()

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: