12#include <initializer_list>
161 std::unique_ptr<Private> d_ptr;
SPI 2840X Bus settings.
Definition bussettings.h:25
BusSettings(const std::initializer_list< int > &pins)
virtual ~BusSettings()
Destructor.
bool operator==(const BusSettings &other) const
bool isNull() const
Returns true if the object is null (i.e. it has not been initialized, d_ptr is null)
void clear()
Clears the BusSettings object After the call to this function, the BusSettings object is the same as ...
bool operator!=(const BusSettings &other) const
BusSettings(const int dataPin, const int clkPin, const int holdPin)
BusSettings(const BusSettings &other)
Copy Constructor.
BusSettings(BusSettings &&other)
Move Constructor after the move, other is null, other.clear() must be called if it is to be used agai...
bool isEmpty() const
Checks if all attributes are set to their default values (same as the default constructor)
BusSettings & operator=(const BusSettings &other)
Sets the BusSettings object to be equal to other.
const BusSettings SpaIotS3Bus
BusSettings for the SpaIot ESP32S3 Version.
const BusSettings SpaIot32Bus
BusSettings for the SpaIot ESP32 Version.
const BusSettings SpaIot8266Bus
BusSettings for the SpaIot ESP8266 Version.
const BusSettings Scip2Bus
BusSettings for the SpaIot.
SpaIot name space.
Definition bussettings.h:15