+++ /dev/null
-/*----------------------------------------------------------------------------\r
- * U S B - K e r n e l\r
- *----------------------------------------------------------------------------\r
- * Name: usbcfg.h\r
- * Purpose: USB Custom Configuration\r
- * Version: V1.20\r
- *----------------------------------------------------------------------------\r
- * This software is supplied "AS IS" without any warranties, express,\r
- * implied or statutory, including but not limited to the implied\r
- * warranties of fitness for purpose, satisfactory quality and\r
- * noninfringement. Keil extends you a royalty-free right to reproduce\r
- * and distribute executable files created using this software for use\r
- * on NXP Semiconductors LPC family microcontroller devices only. Nothing \r
- * else gives you the right to use this software.\r
- *\r
- * Copyright (c) 2009 Keil - An ARM Company. All rights reserved.\r
- *----------------------------------------------------------------------------\r
- * History:\r
- * V1.20 Added vendor specific support\r
- * V1.00 Initial Version\r
- *---------------------------------------------------------------------------*/\r
-\r
-#ifndef __USBCFG_H__\r
-#define __USBCFG_H__\r
-\r
-\r
-//*** <<< Use Configuration Wizard in Context Menu >>> ***\r
-\r
-\r
-/*\r
-// <h> USB Configuration\r
-// <o0> USB Power\r
-// <i> Default Power Setting\r
-// <0=> Bus-powered\r
-// <1=> Self-powered\r
-// <o1> Max Number of Interfaces <1-256>\r
-// <o2> Max Number of Endpoints <1-32>\r
-// <o3> Max Endpoint 0 Packet Size\r
-// <8=> 8 Bytes <16=> 16 Bytes <32=> 32 Bytes <64=> 64 Bytes\r
-// <e4> DMA Transfer\r
-// <i> Use DMA for selected Endpoints\r
-// <o5.0> Endpoint 0 Out\r
-// <o5.1> Endpoint 0 In\r
-// <o5.2> Endpoint 1 Out\r
-// <o5.3> Endpoint 1 In\r
-// <o5.4> Endpoint 2 Out\r
-// <o5.5> Endpoint 2 In\r
-// <o5.6> Endpoint 3 Out\r
-// <o5.7> Endpoint 3 In\r
-// <o5.8> Endpoint 4 Out\r
-// <o5.9> Endpoint 4 In\r
-// <o5.10> Endpoint 5 Out\r
-// <o5.11> Endpoint 5 In\r
-// <o5.12> Endpoint 6 Out\r
-// <o5.13> Endpoint 6 In\r
-// <o5.14> Endpoint 7 Out\r
-// <o5.15> Endpoint 7 In\r
-// <o5.16> Endpoint 8 Out\r
-// <o5.17> Endpoint 8 In\r
-// <o5.18> Endpoint 9 Out\r
-// <o5.19> Endpoint 9 In\r
-// <o5.20> Endpoint 10 Out\r
-// <o5.21> Endpoint 10 In\r
-// <o5.22> Endpoint 11 Out\r
-// <o5.23> Endpoint 11 In\r
-// <o5.24> Endpoint 12 Out\r
-// <o5.25> Endpoint 12 In\r
-// <o5.26> Endpoint 13 Out\r
-// <o5.27> Endpoint 13 In\r
-// <o5.28> Endpoint 14 Out\r
-// <o5.29> Endpoint 14 In\r
-// <o5.30> Endpoint 15 Out\r
-// <o5.31> Endpoint 15 In\r
-// </e>\r
-// </h>\r
-*/\r
-\r
-#define USB_POWER 0\r
-#define USB_IF_NUM 4\r
-#define USB_EP_NUM 32\r
-#define USB_MAX_PACKET0 8\r
-#define USB_DMA 0\r
-#define USB_DMA_EP 0x00000000\r
-\r
-\r
-/*\r
-// <h> USB Event Handlers\r
-// <h> Device Events\r
-// <o0.0> Power Event\r
-// <o1.0> Reset Event\r
-// <o2.0> Suspend Event\r
-// <o3.0> Resume Event\r
-// <o4.0> Remote Wakeup Event\r
-// <o5.0> Start of Frame Event\r
-// <o6.0> Error Event\r
-// </h>\r
-// <h> Endpoint Events\r
-// <o7.0> Endpoint 0 Event\r
-// <o7.1> Endpoint 1 Event\r
-// <o7.2> Endpoint 2 Event\r
-// <o7.3> Endpoint 3 Event\r
-// <o7.4> Endpoint 4 Event\r
-// <o7.5> Endpoint 5 Event\r
-// <o7.6> Endpoint 6 Event\r
-// <o7.7> Endpoint 7 Event\r
-// <o7.8> Endpoint 8 Event\r
-// <o7.9> Endpoint 9 Event\r
-// <o7.10> Endpoint 10 Event\r
-// <o7.11> Endpoint 11 Event\r
-// <o7.12> Endpoint 12 Event\r
-// <o7.13> Endpoint 13 Event\r
-// <o7.14> Endpoint 14 Event\r
-// <o7.15> Endpoint 15 Event\r
-// </h>\r
-// <h> USB Core Events\r
-// <o8.0> Set Configuration Event\r
-// <o9.0> Set Interface Event\r
-// <o10.0> Set/Clear Feature Event\r
-// </h>\r
-// </h>\r
-*/\r
-\r
-#define USB_POWER_EVENT 0\r
-#define USB_RESET_EVENT 1\r
-#define USB_SUSPEND_EVENT 0\r
-#define USB_RESUME_EVENT 0\r
-#define USB_WAKEUP_EVENT 0\r
-#define USB_SOF_EVENT 0\r
-#define USB_ERROR_EVENT 0\r
-#define USB_EP_EVENT 0x0007\r
-#define USB_CONFIGURE_EVENT 1\r
-#define USB_INTERFACE_EVENT 0\r
-#define USB_FEATURE_EVENT 0\r
-\r
-\r
-/*\r
-// <e0> USB Class Support\r
-// <i> enables USB Class specific Requests\r
-// <e1> Human Interface Device (HID)\r
-// <o2> Interface Number <0-255>\r
-// </e>\r
-// <e3> Mass Storage\r
-// <o4> Interface Number <0-255>\r
-// </e>\r
-// <e5> Audio Device\r
-// <o6> Control Interface Number <0-255>\r
-// <o7> Streaming Interface 1 Number <0-255>\r
-// <o8> Streaming Interface 2 Number <0-255>\r
-// </e>\r
-// <e9> Communication Device\r
-// <o10> Control Interface Number <0-255>\r
-// <o11> Bulk Interface Number <0-255>\r
-// <o12> Max Communication Device Buffer Size\r
-// <8=> 8 Bytes <16=> 16 Bytes <32=> 32 Bytes <64=> 64 Bytes \r
-// </e>\r
-// </e>\r
-*/\r
-\r
-#define USB_CLASS 1\r
-#define USB_HID 0\r
-#define USB_HID_IF_NUM 0\r
-#define USB_MSC 0\r
-#define USB_MSC_IF_NUM 0\r
-#define USB_AUDIO 0\r
-#define USB_ADC_CIF_NUM 0\r
-#define USB_ADC_SIF1_NUM 1\r
-#define USB_ADC_SIF2_NUM 2\r
-#define USB_CDC 1\r
-#define USB_CDC_CIF_NUM 0\r
-#define USB_CDC_DIF_NUM 1\r
-#define USB_CDC_BUFSIZE 64\r
-\r
-/*\r
-// <e0> USB Vendor Support\r
-// <i> enables USB Vendor specific Requests\r
-// </e>\r
-*/\r
-#define USB_VENDOR 0\r
-\r
-\r
-#endif /* __USBCFG_H__ */\r