00001 /****************************************************************************** 00002 * $Id$ / 1.0 / 2009.12.18 00003 * http://emea.fujitsu.com 00004 *****************************************************************************/ 00005 /* (C) Fujitsu Microelectronics Europe GmbH */ 00006 /* */ 00007 /* The following software deliverable is intended for and must only be */ 00008 /* used in an evaluation laboratory environment. */ 00009 /* It is provided without charge and therefore provided on an as-is */ 00010 /* basis, subject to alterations. */ 00011 /* */ 00012 /* The software deliverable is to be used exclusively in connection */ 00013 /* with FME products. */ 00014 /* In the event the software deliverable includes the use of open */ 00015 /* source components, the provisions of the governing open source */ 00016 /* license agreement shall apply with respect to such software */ 00017 /* deliverable. */ 00018 /* FME does not warrant that the deliverables do not infringe any */ 00019 /* third party intellectual property right (IPR). In the event that */ 00020 /* the deliverables infringe a third party IPR it is the sole */ 00021 /* responsibility of the customer to obtain necessary licenses to */ 00022 /* continue the usage of the deliverable. */ 00023 /* */ 00024 /* To the maximum extent permitted by applicable law FME disclaims all */ 00025 /* warranties, whether express or implied, in particular, but not */ 00026 /* limited to, warranties of merchantability and fitness for a */ 00027 /* particular purpose for which the deliverable is not designated. */ 00028 /* */ 00029 /* To the maximum extent permitted by applicable law, FME’s liability */ 00030 /* is restricted to intention and gross negligence. */ 00031 /* FME is not liable for consequential damages. */ 00032 /* */ 00033 /* (Disclaimer V1.2) */ 00034 /*****************************************************************************/ 00043 #ifndef __USBDESCRIPTORS_H__ 00044 #define __USBDESCRIPTORS_H__ 00045 00046 /*****************************************************************************/ 00047 /* Include files */ 00048 /*****************************************************************************/ 00049 00050 00051 00052 /*****************************************************************************/ 00053 /* Global pre-processor symbols/macros ('#define') */ 00054 /*****************************************************************************/ 00055 00056 #define USB_DEVDESC_SIZE 18 00057 #define USB_CNFGDESC_SIZE 32 00058 #define USB_RPTDESC_SIZE 0 00059 #define USB_FUNC_EP0_SIZE 64 00060 00061 00062 /*****************************************************************************/ 00063 /* Global type definitions ('typedef') */ 00064 /*****************************************************************************/ 00065 00066 00067 00068 /*****************************************************************************/ 00069 /* Global variable declarations ('extern', definition in C source) */ 00070 /*****************************************************************************/ 00071 00072 const uint8_t au8DeviceDescriptor[18] = 00073 { 00075 0x12, 00076 0x01, 00077 0x01, 0x01, 00078 0x00, 00079 0x00, 00080 0x00, 00081 0x40, 00082 0x55, 0x1F, 00083 0x0F, 0x00, 00084 0x00, 0x02, 00085 0x01, 00086 0x02, 00087 0x03, 00088 0x01 00089 }; 00090 00091 00092 const uint8_t au8ConfigDescriptor[32] = 00093 { 00095 0x09, 00096 0x02, 00097 0x20, 0x00, 00098 0x00, 00099 0x01, 00100 0x00, 00101 0xC0, 00102 0xFA, 00103 00105 0x09, 00106 0x04, 00107 0x00, 00108 0x00, 00109 0x00, 00110 0x00, 00111 0x00, 00112 0x00, 00113 0x00, 00114 00116 0x07, 00117 0x05, 00118 0x01, 00119 0x02, 00120 0x40, 0x00, 00121 0x00, 00122 00124 0x07, 00125 0x05, 00126 0x85, 00127 0x02, 00128 0x40, 0x00, 00129 0x00 00130 }; 00131 00132 00133 const char_t* pcManufacturerStringDescriptor = "Fujitsu"; 00134 const char_t* pcProductStringDescriptor = "Demo"; 00135 const char_t* pcSerialnumberStringDescriptor = "1.0"; 00136 00137 00138 const uint8_t au8ReportDescriptor[1] = {0}; 00139 00140 00141 00142 /*****************************************************************************/ 00143 /* Global function prototypes ('extern', definition in C source) */ 00144 /*****************************************************************************/ 00145 00146 00147 00148 #endif /* __USBDESCRIPTORS_H__ */
1.6.1