|
| 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 | + |
| 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