32 numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType)
36 virtual bool setup(USBSetup& setup) = 0;
37 virtual int getInterface(uint8_t* interfaceCount) = 0;
38 virtual int getDescriptor(USBSetup& setup) = 0;
39 virtual uint8_t getShortName(
char *name) { name[0] =
'A'+pluggedInterface;
return 1; }
41 uint8_t pluggedInterface;
42 uint8_t pluggedEndpoint;
44 const uint8_t numEndpoints;
45 const uint8_t numInterfaces;
46 const unsigned int *endpointType;
57 int getInterface(uint8_t* interfaceCount);
58 int getDescriptor(USBSetup& setup);
59 bool setup(USBSetup& setup);
60 void getShortName(
char *iSerialNum);
71 void* epBuffer(
unsigned int n);
Definition: PluggableUSB.h:53
Definition: PluggableUSB.h:29