Skip to content

Commit b45c2cb

Browse files
committed
pushing code and doc files
1 parent 3520188 commit b45c2cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+56581
-0
lines changed
22 KB
Binary file not shown.
28.5 KB
Binary file not shown.

doc/help_mla_usb.jar

7.76 MB
Binary file not shown.

doc/help_mla_usb.pdf

12.5 MB
Binary file not shown.

inc/usb.h

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// DOM-IGNORE-BEGIN
2+
/*******************************************************************************
3+
Copyright 2015 Microchip Technology Inc. (www.microchip.com)
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
To request to license the code under the MLA license (www.microchip.com/mla_license),
18+
please contact [email protected]
19+
*******************************************************************************/
20+
//DOM-IGNORE-END
21+
22+
23+
/*******************************************************************************
24+
Module for Microchip USB Library
25+
26+
Company:
27+
Microchip Technology Inc.
28+
29+
File Name:
30+
usb.h
31+
32+
Summary:
33+
This header file exposes the core library APIs and definitions for the USB
34+
library.
35+
36+
Description:
37+
This header file exposes the core library APIs and definitions for the USB
38+
library. The user is responsible for also including the header file for
39+
the specific driver they will be using.
40+
*******************************************************************************/
41+
42+
#ifndef _USB_H_
43+
#define _USB_H_
44+
45+
#include "system.h"
46+
#include "system_config.h" // Must be defined by the application
47+
48+
#include "usb_common.h" // Common USB library definitions
49+
#include "usb_ch9.h" // USB device framework definitions
50+
51+
#if defined( USB_SUPPORT_DEVICE )
52+
#include "usb_device.h" // USB Device abstraction layer interface
53+
#endif
54+
55+
#if defined( USB_SUPPORT_HOST )
56+
#include "usb_host.h" // USB Host abstraction layer interface
57+
#endif
58+
59+
#include "usb_hal.h" // Hardware Abstraction Layer interface
60+
61+
/* USB Library version number. This can be used to verify in an application
62+
specific version of the library is being used.
63+
*/
64+
#define USB_MAJOR_VER 2 // Firmware version, major release number.
65+
#define USB_MINOR_VER 13 // Firmware version, minor release number.
66+
#define USB_DOT_VER 0 // Firmware version, dot release number.
67+
68+
#endif // _USB_H_
69+
70+
71+

0 commit comments

Comments
 (0)