18#include <initializer_list>
37 BusSettings (
const std::initializer_list<int>& pins);
44 BusSettings (
const int dataPin,
const int clkPin,
const int holdPin);
69 bool operator== (
const BusSettings &other)
const;
74 bool operator!= (
const BusSettings &other)
const;
79 void setDataPin (
int pin);
84 void setClkPin (
int pin);
89 void setHoldPin (
int pin);
91 std::vector<int> m_pin;
109 LedSettings (
const uint8_t order);
114 uint8_t order()
const;
119 uint16_t frame()
const;
124 void setOrder (
const uint8_t order);
134 bool operator== (
const LedSettings &other)
const;
139 bool operator!= (
const LedSettings &other)
const;
148 extern const BusSettings ScipBus;
152 extern const std::map<int, LedSettings> SspLeds;
156 extern const std::map<int, LedSettings> SjbLeds;
SpaIot name space.
Definition: bussettings.h:21