USB Mouse (relative) example for mbed NXP LPC11U24 beta
USB_HID_STACK/USBEvents.h@1:e089be2a6aa1, 2011-11-09 (annotated)
- Committer:
- chris
- Date:
- Wed Nov 09 15:55:10 2011 +0000
- Revision:
- 1:e089be2a6aa1
- Parent:
- 0:163560051396
removed include for <math.h> that is already included by mbed.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:163560051396 | 1 | /* USBEvents.h */ |
chris | 0:163560051396 | 2 | /* USB device and endpoint event handlers */ |
chris | 0:163560051396 | 3 | /* Copyright (c) 2011 ARM Limited. All rights reserved. */ |
chris | 0:163560051396 | 4 | |
chris | 0:163560051396 | 5 | #ifndef _USB_EBVENTS_ |
chris | 0:163560051396 | 6 | #define _USB_EBVENTS_ |
chris | 0:163560051396 | 7 | |
chris | 0:163560051396 | 8 | /* Endpoint events that must be implemented by device layer: */ |
chris | 0:163560051396 | 9 | void USBDevice_EP0setup(void); |
chris | 0:163560051396 | 10 | void USBDevice_EP0out(void); |
chris | 0:163560051396 | 11 | void USBDevice_EP0in(void); |
chris | 0:163560051396 | 12 | |
chris | 0:163560051396 | 13 | /* Endpoint events that are optionally implemented by device layer: */ |
chris | 0:163560051396 | 14 | void USBDevice_busReset(void); |
chris | 0:163560051396 | 15 | void USBDevice_SOF(int frameNumber); |
chris | 0:163560051396 | 16 | void USBDevice_connectStateChanged(unsigned int state); |
chris | 0:163560051396 | 17 | void USBDevice_suspendStateChanged(unsigned int state); |
chris | 0:163560051396 | 18 | |
chris | 0:163560051396 | 19 | #endif |