USB_HID_STACK/USBEvents.h@0:e98d1c2b16c6, 2011-10-20 (annotated)
- Committer:
- chris
- Date:
- Thu Oct 20 14:07:30 2011 +0000
- Revision:
- 0:e98d1c2b16c6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:e98d1c2b16c6 | 1 | /* USBEvents.h */ |
chris | 0:e98d1c2b16c6 | 2 | /* USB device and endpoint event handlers */ |
chris | 0:e98d1c2b16c6 | 3 | /* Copyright (c) 2011 ARM Limited. All rights reserved. */ |
chris | 0:e98d1c2b16c6 | 4 | |
chris | 0:e98d1c2b16c6 | 5 | #ifndef _USB_EBVENTS_ |
chris | 0:e98d1c2b16c6 | 6 | #define _USB_EBVENTS_ |
chris | 0:e98d1c2b16c6 | 7 | |
chris | 0:e98d1c2b16c6 | 8 | /* Endpoint events that must be implemented by device layer: */ |
chris | 0:e98d1c2b16c6 | 9 | void USBDevice_EP0setup(void); |
chris | 0:e98d1c2b16c6 | 10 | void USBDevice_EP0out(void); |
chris | 0:e98d1c2b16c6 | 11 | void USBDevice_EP0in(void); |
chris | 0:e98d1c2b16c6 | 12 | |
chris | 0:e98d1c2b16c6 | 13 | /* Endpoint events that are optionally implemented by device layer: */ |
chris | 0:e98d1c2b16c6 | 14 | void USBDevice_busReset(void); |
chris | 0:e98d1c2b16c6 | 15 | void USBDevice_SOF(int frameNumber); |
chris | 0:e98d1c2b16c6 | 16 | void USBDevice_connectStateChanged(unsigned int state); |
chris | 0:e98d1c2b16c6 | 17 | void USBDevice_suspendStateChanged(unsigned int state); |
chris | 0:e98d1c2b16c6 | 18 | |
chris | 0:e98d1c2b16c6 | 19 | #endif |