]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/ThirdParty/USB_CDC/include/usbuser.h
Add FreeRTOS-Plus directory with new directory structure so it matches the FreeRTOS...
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC / ThirdParty / USB_CDC / include / usbuser.h
1 /*----------------------------------------------------------------------------
2  *      U S B  -  K e r n e l
3  *----------------------------------------------------------------------------
4  * Name:    usbuser.h
5  * Purpose: USB Custom User Definitions
6  * Version: V1.20
7  *----------------------------------------------------------------------------
8  *      This software is supplied "AS IS" without any warranties, express,
9  *      implied or statutory, including but not limited to the implied
10  *      warranties of fitness for purpose, satisfactory quality and
11  *      noninfringement. Keil extends you a royalty-free right to reproduce
12  *      and distribute executable files created using this software for use
13  *      on NXP Semiconductors LPC family microcontroller devices only. Nothing 
14  *      else gives you the right to use this software.
15  *
16  * Copyright (c) 2009 Keil - An ARM Company. All rights reserved.
17  *---------------------------------------------------------------------------*/
18
19 #ifndef __USBUSER_H__
20 #define __USBUSER_H__
21
22
23 /* USB Device Events Callback Functions */
24 extern void USB_Power_Event     (uint32_t power);
25 extern void USB_Reset_Event     (void);
26 extern void USB_Suspend_Event   (void);
27 extern void USB_Resume_Event    (void);
28 extern void USB_WakeUp_Event    (void);
29 extern void USB_SOF_Event       (void);
30 extern void USB_Error_Event     (uint32_t error);
31
32 /* USB Endpoint Events Callback Pointers */
33 extern void (* const USB_P_EP[USB_EP_NUM])(uint32_t event);
34
35 /* USB Endpoint Events Callback Functions */
36 extern void USB_EndPoint0  (uint32_t event);
37 extern void USB_EndPoint1  (uint32_t event);
38 extern void USB_EndPoint2  (uint32_t event);
39 extern void USB_EndPoint3  (uint32_t event);
40 extern void USB_EndPoint4  (uint32_t event);
41 extern void USB_EndPoint5  (uint32_t event);
42
43 /* USB Core Events Callback Functions */
44 extern void USB_Configure_Event (void);
45 extern void USB_Interface_Event (void);
46 extern void USB_Feature_Event   (void);
47
48
49 #endif  /* __USBUSER_H__ */