Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /****************************************************************************** |
2 | File Information: |
||
3 | FileName: usb_function_generic.c |
||
4 | Dependencies: See INCLUDES section below |
||
5 | Processor: PIC18, PIC24, or PIC32 |
||
6 | Compiler: C18, C30, or C32 |
||
7 | Company: Microchip Technology, Inc. |
||
8 | |||
9 | Software License Agreement |
||
10 | |||
11 | The software supplied herewith by Microchip Technology Incorporated |
||
12 | (the Company) for its PICmicro® Microcontroller is intended and |
||
13 | supplied to you, the Companys customer, for use solely and |
||
14 | exclusively on Microchip PICmicro Microcontroller products. The |
||
15 | software is owned by the Company and/or its supplier, and is |
||
16 | protected under applicable copyright laws. All rights are reserved. |
||
17 | Any use in violation of the foregoing restrictions may subject the |
||
18 | user to criminal sanctions under applicable laws, as well as to |
||
19 | civil liability for the breach of the terms and conditions of this |
||
20 | license. |
||
21 | |||
22 | THIS SOFTWARE IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, |
||
23 | WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED |
||
24 | TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
||
25 | PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, |
||
26 | IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR |
||
27 | CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
||
28 | |||
29 | Summary: |
||
30 | This file contains functions, macros, definitions, variables, |
||
31 | datatypes, etc. that are required for use of vendor class function |
||
32 | drivers. This file should be included in projects that use vendor class |
||
33 | \function drivers. Vendor class function drivers include MCHPUSB |
||
34 | (Microchip's custom class driver), WinUSB, and LibUSB. |
||
35 | |||
36 | |||
37 | |||
38 | This file is located in the "\<Install Directory\>\\Microchip\\USB\\Generic |
||
39 | Device Driver" directory. |
||
40 | Description: |
||
41 | USB Vender Class Custom Driver Header File |
||
42 | |||
43 | This file contains functions, macros, definitions, variables, |
||
44 | datatypes, etc. that are required for use of vendor class function |
||
45 | drivers. This file should be included in projects that use vendor class |
||
46 | \function drivers. |
||
47 | |||
48 | This file is located in the "\<Install Directory\>\\Microchip\\USB\\Generic |
||
49 | Device Driver" directory. |
||
50 | |||
51 | When including this file in a new project, this file can either be |
||
52 | referenced from the directory in which it was installed or copied |
||
53 | directly into the user application folder. If the first method is |
||
54 | chosen to keep the file located in the folder in which it is installed |
||
55 | then include paths need to be added so that the library and the |
||
56 | application both know where to reference each others files. If the |
||
57 | application folder is located in the same folder as the Microchip |
||
58 | folder (like the current demo folders), then the following include |
||
59 | paths need to be added to the application's project: |
||
60 | |||
61 | ..\\..\\Microchip\\Include |
||
62 | . |
||
63 | |||
64 | If a different directory structure is used, modify the paths as |
||
65 | required. An example using absolute paths instead of relative paths |
||
66 | would be the following: |
||
67 | |||
68 | C:\\Microchip Solutions\\Microchip\\Include |
||
69 | |||
70 | C:\\Microchip Solutions\\My Demo Application |
||
71 | |||
72 | //DOM-IGNORE-BEGIN |
||
73 | ******************************************************************** |
||
74 | File Description: |
||
75 | |||
76 | Change History: |
||
77 | Rev Description |
||
78 | ---- ----------- |
||
79 | 2.6 Minor changes in include file structure. |
||
80 | 2.6a- No change |
||
81 | 2.7a |
||
82 | ******************************************************************** |
||
83 | //DOM-IGNORE-END |
||
84 | |||
85 | ******************************************************************************/ |
||
86 | |||
87 | /** I N C L U D E S **********************************************************/ |
||
88 | #include "usb/usb.h" |
||
89 | |||
90 | #if defined(USB_USE_GEN) |
||
91 | |||
92 | /** V A R I A B L E S ********************************************************/ |
||
93 | |||
94 | /** P R I V A T E P R O T O T Y P E S ***************************************/ |
||
95 | |||
96 | /** D E C L A R A T I O N S **************************************************/ |
||
97 | |||
98 | /** U S E R A P I ***********************************************************/ |
||
99 | //All API are defined in the usb_function_generic.h file |
||
100 | |||
101 | #endif //def USB_USE_GEN |
||
102 | |||
103 | /** EOF usbgen.c *************************************************************/ |
Powered by WebSVN v2.8.3