Open Lighting Architecture: ola::plugin::spi::SPIWriter Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
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:

## 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

## ◆ DevicePath()

std::string ola::plugin::spi::SPIWriter::DevicePath | ( |  | ) | const
| inlinevirtual

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

## ◆ Init()

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

Init the SPIWriter

Returns
  false if initialization failed.

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

## ◆ WriteSPIData()

bool ola::plugin::spi::SPIWriter::WriteSPIData | ( | const uint8_t * | data,
|  | unsigned int | length )
| virtual

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

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

- plugins/spi/SPIWriter.h
- plugins/spi/SPIWriter.cpp