1 /*********************************************************************
3 * Microchip USB C18 Firmware Version 1.0
5 *********************************************************************
7 * Dependencies: See INCLUDES section below
9 * Compiler: C18 2.30.01+
10 * Company: Microchip Technology, Inc.
12 * Software License Agreement
14 * The software supplied herewith by Microchip Technology Incorporated
15 * (the “Company”) for its PICmicro® Microcontroller is intended and
16 * supplied to you, the Company’s customer, for use solely and
17 * exclusively on Microchip PICmicro Microcontroller products. The
18 * software is owned by the Company and/or its supplier, and is
19 * protected under applicable copyright laws. All rights are reserved.
20 * Any use in violation of the foregoing restrictions may subject the
21 * user to criminal sanctions under applicable laws, as well as to
22 * civil liability for the breach of the terms and conditions of this
25 * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
26 * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
27 * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
28 * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
29 * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
30 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
32 ********************************************************************/
34 /*********************************************************************
35 * Descriptor specific type definitions are defined in:
36 * system\usb\usbdefs\usbdefs_std_dsc.h
37 ********************************************************************/
42 /** I N C L U D E S *************************************************/
46 #if defined(USB_USE_CDC)
52 /** D E F I N I T I O N S *******************************************/
54 #define CFG01 rom struct \
56 USB_INTF_DSC i01a00; \
57 USB_CDC_HEADER_FN_DSC cdc_header_fn_i01a00; \
58 USB_CDC_ACM_FN_DSC cdc_acm_fn_i01a00; \
59 USB_CDC_UNION_FN_DSC cdc_union_fn_i01a00; \
60 USB_CDC_CALL_MGT_FN_DSC cdc_call_mgt_fn_i01a00; \
61 USB_EP_DSC ep02i_i01a00; \
62 USB_INTF_DSC i02a00; \
63 USB_EP_DSC ep03o_i02a00; \
64 USB_EP_DSC ep03i_i02a00; \
67 /** E X T E R N S ***************************************************/
68 extern rom USB_DEV_DSC device_dsc;
70 extern rom const unsigned char *rom USB_CD_Ptr[];
71 extern rom const unsigned char *rom USB_SD_Ptr[];
73 extern rom pFunc ClassReqHandler[1];