1 #ifndef ION_DEVICE_USB_INTERFACE_H 2 #define ION_DEVICE_USB_INTERFACE_H 33 bool setInterface(SetupPacket * request,
uint16_t * transferBufferLength);
34 bool clearFeature(
uint16_t * transferBufferLength);
35 bool setFeature(
uint16_t * transferBufferLength);
virtual uint8_t getActiveInterfaceAlternative()=0
Interface(Endpoint0 *ep0)
bool processSetupInRequest(SetupPacket *request, uint8_t *transferBuffer, uint16_t *transferBufferLength, uint16_t transferBufferMaxLength) override
virtual void setActiveInterfaceAlternative(uint8_t interfaceAlternativeIndex)=0