USB Mouse (relative) example for mbed NXP LPC11U24 beta
Diff: USB_HID_STACK/USBEvents.h
- Revision:
- 0:163560051396
diff -r 000000000000 -r 163560051396 USB_HID_STACK/USBEvents.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USB_HID_STACK/USBEvents.h Mon Oct 24 10:26:27 2011 +0000 @@ -0,0 +1,19 @@ +/* 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