HostInterface.h
Go to the documentation of this file.
void begin(const Instance &inst)
Descendant classes should override this method to peform initialisation.
Definition: HostInterface.h:49
virtual void end()
Called when device is disconnected. Override as required.
Definition: HostInterface.h:57
bool operator==(const HostInterface &other) const
Definition: HostInterface.h:73
bool operator==(const Instance &other) const
Definition: HostInterface.h:78
Definition: Libraries/USB/src/USB/CDC/Device.h:26
uint8_t dev_addr
Device address (from 1)
Definition: HostInterface.h:36
bool operator==(const Instance &other) const
Definition: HostInterface.h:40
const char * name
Optional name for this interface instance.
Definition: HostInterface.h:38
uint8_t idx
Index or instance value specific to class.
Definition: HostInterface.h:37