/*********************************************************************

    Generic Host Demo - USB Configuration
    
This file defines the client driver and TPL tables.

 * Filename:        usb_config.c
 * Dependancies:    See included files (below)
 * Processor:       PIC24 & PIC32 supporting USB OTG Module
 * Hardware:        Explorer 16 w/processor PIM and USB PICtail Plus
 * Assembler:       C Language for PIC24 or PIC32
 * Linker:          PIC24 or PIC32
 * Company:         Microchip Technology, Inc.

Software License Agreement

The software supplied herewith by Microchip Technology Incorporated
(the “Company”) for its PICmicro® Microcontroller is intended and
supplied to you, the Company’s customer, for use solely and
exclusively on Microchip PICmicro Microcontroller products. The
software is owned by the Company and/or its supplier, and is
protected under applicable copyright laws. All rights are reserved.
Any use in violation of the foregoing restrictions may subject the
user to criminal sanctions under applicable laws, as well as to
civil liability for the breach of the terms and conditions of this
license.

THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
 ********************************************************************/
 
#include "GenericTypeDefs.h"
#include "USB\usb.h"
#include "USB\usb_host_generic.h"


/*********************************
 * USB Host: Client Driver Table *
 *********************************/

CLIENT_DRIVER_TABLE usbClientDrvTable[] = 
{
    {   // Generic Client Driver
        USBHostGenericInit,           // Initialization Routine
        USBHostGenericEventHandler,   // Event Handler Routine
        0                             // Initializaton Parameter
    }
};


/************************************
 * USB Host: Target Peripheral List *
 ************************************/

USB_TPL usbTPL[NUM_TPL_ENTRIES] = 
{
//    VID & PID or                           Client
//    Class, Subclass & Protocol      Config Driver  Flags
    { INIT_VID_PID( 0x04D8, 0x000C ),   1,     0,    {TPL_SET_CONFIG} }  // Microchip Custom demo
};

