* such as the number of blocks and the memory size.\r
*/\r
\r
-class USBMSD: public USB_Endpoint_Receiver, public Module {\r
+class USBMSD: public USB_State_Receiver, public USB_Endpoint_Receiver, public Module {\r
public:\r
\r
/**\r
bool USBEvent_RequestComplete(CONTROL_TRANSFER&, uint8_t *, uint32_t);\r
bool USBEvent_EPIn(uint8_t, uint8_t);\r
bool USBEvent_EPOut(uint8_t, uint8_t);\r
+ bool USBEvent_busReset(void);\r
+ bool USBEvent_connectStateChanged(bool connected);\r
+ bool USBEvent_suspendStateChanged(bool suspended);\r
\r
virtual void on_module_loaded(void);\r
\r