USB_HID_STACK/USBEvents.h
- Committer:
- chris
- Date:
- 2011-10-20
- Revision:
- 0:e98d1c2b16c6
File content as of revision 0:e98d1c2b16c6:
/* USBEvents.h */ /* USB device and endpoint event handlers */ /* Copyright (c) 2011 ARM Limited. All rights reserved. */ #ifndef _USB_EBVENTS_ #define _USB_EBVENTS_ /* Endpoint events that must be implemented by device layer: */ void USBDevice_EP0setup(void); void USBDevice_EP0out(void); void USBDevice_EP0in(void); /* Endpoint events that are optionally implemented by device layer: */ void USBDevice_busReset(void); void USBDevice_SOF(int frameNumber); void USBDevice_connectStateChanged(unsigned int state); void USBDevice_suspendStateChanged(unsigned int state); #endif