21 #ifndef PLUGINS_SPI_SPIPORT_H_
22 #define PLUGINS_SPI_SPIPORT_H_
26 #include "olad/Port.h"
27 #include "plugins/spi/SPIDevice.h"
28 #include "plugins/spi/SPIOutput.h"
40 std::string GetDeviceLabel()
const;
41 bool SetDeviceLabel(
const std::string &device_label);
42 uint8_t GetPersonality()
const;
43 bool SetPersonality(uint16_t personality);
44 uint16_t GetStartAddress()
const;
45 bool SetStartAddress(uint16_t start_address);
46 unsigned int PixelCount()
const;
48 std::string Description()
const;
49 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
62 #endif // PLUGINS_SPI_SPIPORT_H_