USB Mouse (relative) example for mbed NXP LPC11U24 beta

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers USBEvents.h Source File

USBEvents.h

00001 /* USBEvents.h */
00002 /* USB device and endpoint event handlers */
00003 /* Copyright (c) 2011 ARM Limited. All rights reserved. */
00004 
00005 #ifndef _USB_EBVENTS_
00006 #define _USB_EBVENTS_
00007 
00008 /* Endpoint events that must be implemented by device layer: */
00009 void USBDevice_EP0setup(void);
00010 void USBDevice_EP0out(void);
00011 void USBDevice_EP0in(void);
00012 
00013 /* Endpoint events that are optionally implemented by device layer: */
00014 void USBDevice_busReset(void);
00015 void USBDevice_SOF(int frameNumber);
00016 void USBDevice_connectStateChanged(unsigned int state);
00017 void USBDevice_suspendStateChanged(unsigned int state);
00018 
00019 #endif