USB Mouse (relative) example for mbed NXP LPC11U24 beta

USB_HID_STACK/USBEvents.h

Committer:
chris
Date:
2011-11-09
Revision:
1:e089be2a6aa1
Parent:
0:163560051396

File content as of revision 1:e089be2a6aa1:

/* 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