Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Peach_AudioChannelDividerAndCompensator
Diff: USBDevice/USBHAL.h
- Revision:
- 25:7c72828865f3
- Parent:
- 16:4f6df64750bd
- Child:
- 30:4408411999c8
--- a/USBDevice/USBHAL.h Fri May 16 09:00:39 2014 +0100
+++ b/USBDevice/USBHAL.h Tue Jun 03 11:30:32 2014 +0100
@@ -58,7 +58,7 @@
bool realiseEndpoint(uint8_t endpoint, uint32_t maxPacket, uint32_t options);
bool getEndpointStallState(unsigned char endpoint);
uint32_t endpointReadcore(uint8_t endpoint, uint8_t *buffer);
-
+
protected:
virtual void busReset(void){};
virtual void EP0setupCallback(void){};
@@ -67,7 +67,7 @@
virtual void connectStateChanged(unsigned int connected){};
virtual void suspendStateChanged(unsigned int suspended){};
virtual void SOF(int frameNumber){};
-
+
virtual bool EP1_OUT_callback(){return false;};
virtual bool EP1_IN_callback(){return false;};
virtual bool EP2_OUT_callback(){return false;};
@@ -102,7 +102,7 @@
virtual bool EP15_IN_callback(){return false;};
#endif
#endif
-
+
private:
void usbisr(void);
static void _usbisr(void);
@@ -116,6 +116,6 @@
bool (USBHAL::*epCallback[32 - 2])(void);
#endif
-
+
};
#endif