USBHostMSDSCSIEventHandler,
    0
};

// *****************************************************************************
// Client Driver Function Pointer Table for the USB Embedded Host foundation
// *****************************************************************************

CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{                                        
    {
        USBHostMSDInitialize,
        USBHostMSDEventHandler,
        0
    }
};*/

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 8ul, 6ul, 0x50ul ), 0, 0, {TPL_CLASS_DRV} } // Most types of MSD flash drives
    ,
    { INIT_CL_SC_P( 8ul, 5ul, 0x50ul ), 0, 0, {TPL_CLASS_DRV} } // Some MSD flash drives use this instead
};



Exemple #2
0
CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{
    {
        USBHostMSDInitialize,
        USBHostMSDEventHandler,
        0
    }
    ,
    {
        USBHostHIDInitialize,
        USBHostHIDEventHandler,
        0
    }
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 0x08ul, 0x06ul, 0x50ul ), 0, 0, {TPL_CLASS_DRV} } // Flash Drives
    ,
    { INIT_CL_SC_P( 3ul, 1ul, 1ul ), 0, 1, {TPL_CLASS_DRV} } // mouse and keyboard
    ,
    { INIT_CL_SC_P( 3ul, 0ul, 0ul ), 0, 1, {TPL_CLASS_DRV} } // mouse and keyboard
    ,
    { INIT_CL_SC_P( 3ul, 1ul, 2ul ), 0, 1, {TPL_CLASS_DRV} } // mouse and keyboard
};

Exemple #3
0
    }
    ,
    {
        USBHostCDCInitialize,
        USBHostCDCEventHandler,
        0
    }
#endif
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
#if defined(USB_USE_MIDI)
    { INIT_CL_SC_P( 0x01ul, 0x03ul, 0x00ul ), 0, 0, {TPL_CLASS_DRV} }, // MIDI Audio Subclass
#endif
#if defined(USB_USE_HID)
    { INIT_CL_SC_P( 0x03ul, 0x01ul, 0x02ul ), 0, 0, {TPL_CLASS_DRV} }, // HID Class
    //{ INIT_CL_SC_P( 0x03ul, 0x01ul, 0x01ul ), 0, 0, {TPL_CLASS_DRV} }, // HID Class
    //{ INIT_CL_SC_P( 0x03ul, 0x00ul, 0x00ul ), 0, 0, {TPL_CLASS_DRV} }, // HID Class
#elif defined(USB_USE_CDC)
    { INIT_CL_SC_P( 0x02ul, 0x02ul, 0x01ul ), 0, 1, {TPL_CLASS_DRV} }, // Communication Interface
    // Communication Device/Interface Class , Abstract Control Mode , Common AT Commands
    { INIT_CL_SC_P( 0x0Aul, 0x00ul, 0x00ul ), 0, 1, {TPL_CLASS_DRV} }  // Data Interface
#endif
};

#include "GenericTypeDefs.h"
#include "HardwareProfile.h"
#include "USB/usb.h"
#include "USB/usb_host_hid.h"
#include "USB/usb_host_msd.h"
#include "USB/usb_host_msd_scsi.h"

CLIENT_DRIVER_TABLE usbMediaInterfaceTable = {                                           
    USBHostMSDSCSIInitialize,
    USBHostMSDSCSIEventHandler,
    0
};

CLIENT_DRIVER_TABLE usbClientDrvTable[] = {                                        
    {USBHostHIDInitialize, USBHostHIDEventHandler, 0},
    {USBHostMSDInitialize, USBHostMSDEventHandler, 0}
};

USB_TPL usbTPL[] = {
    {INIT_CL_SC_P( 0x03ul, 0x0ul, 0x0ul ), 0, 0, {TPL_CLASS_DRV}}, // HID Class
    {INIT_CL_SC_P( 8ul, 6ul, 0x50ul ), 0, 1, {TPL_CLASS_DRV}},     // MSD Class
    {INIT_CL_SC_P( 8ul, 5ul, 0x50ul ), 0, 1, {TPL_CLASS_DRV}}      // MSD Class
};

Exemple #5
0
// *****************************************************************************
// Client Driver Function Pointer Table for the USB Embedded Host foundation
// *****************************************************************************

CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{                                        
    {
        USBHostCDCInitialize,
        USBHostCDCEventHandler,
        0
    }
    ,
    {
        USBHostMSDInitialize,
        USBHostMSDEventHandler,
        0
    }
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 2ul, 2ul, 1ul ), 0, 0, {TPL_CLASS_DRV} },        // CDC Class
    { INIT_CL_SC_P( 8ul, 6ul, 0x50ul ), 0, 1, {TPL_CLASS_DRV} } ,    // MSD Class
};

Exemple #6
0
// Created by the Microchip USBConfig Utility, Version 1.0.4.0, 4/25/2008, 17:05:22

#include <usb.h>
#include <usb_host_hid.h>

// *****************************************************************************
// Client Driver Function Pointer Table for the USB Embedded Host foundation
// *****************************************************************************

CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{
    {
        USBHostHIDInitialize,
        USBHostHIDEventHandler,
        0
    }
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 3ul, 1ul, 1ul ), 0, 0, {TPL_CLASS_DRV} } // (null)
    ,
    { INIT_CL_SC_P( 3ul, 0ul, 0ul ), 0, 0, {TPL_CLASS_DRV} } // (null)
};

Exemple #7
0
    {//add @micutil
        USBHostBluetoothInit,
        USBHostBluetoothEventHandler,
        0
    },
    {
        USBHostBluetoothInit,
        USBHostBluetoothEventHandler,
        0
    },
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 0xe0ul, 0x01ul, 0x01ul ), 0, 0, {TPL_CLASS_DRV} },// (null)
    { INIT_VID_PID( 0x05B8ul, 0x1004ul ), 0, 0, {0} }, //U3312S add naka_at_kure
    { INIT_VID_PID( 0x05B8ul, 0x1006ul ), 0, 0, {0} }, //U3412S add naka_at_kure
    { INIT_VID_PID( 0x0079ul, 0x0006ul ), 0, 0, {0} }, //Generic USB Joystick (DragonRise Inc.) add @micutil
    { INIT_VID_PID( 0x046Dul, 0xC219ul ), 0, 0, {0} }, //F710 Wireless Gamepad (Logicool Inc.) D-Mode add @micutil
    { INIT_VID_PID( 0x046Dul, 0xC21Ful ), 0, 0, {0} }, //F710 Wireless Gamepad (Logicool Inc.) X-Mode add @micutil
    { INIT_VID_PID( 0x046Dul, 0xC22Ful ), 0, 0, {0} }, //F710 Wireless Gamepad (Logicool Inc.) Initialize
    { INIT_VID_PID( 0x046Dul, 0xC218ul ), 0, 0, {0} }, //F510 Rumble Gamepad (Logicool Inc.) D-Mode add @micutil
    { INIT_VID_PID( 0x046Dul, 0xC21Eul ), 0, 0, {0} }, //F510 Rumble Gamepad (Logicool Inc.) X-Mode add @micutil
    { INIT_VID_PID( 0x054Cul, 0x0268ul ), 0, 0, {0} }, //PS3Controller
};

Exemple #8
0
// Created by the Microchip USBConfig Utility, Version 0.0.12.0, 3/28/2008, 8:58:18

#include "GenericTypeDefs.h"
#include "HardwareProfile.h"
#include "USB/usb.h"
#include "PIC32_USB/usb_host_bluetooth.h"

// *****************************************************************************
// Client Driver Function Pointer Table for the USB Embedded Host foundation
// *****************************************************************************

CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{                                        
    {
        USBHostBluetoothInit,
        USBHostBluetoothEventHandler,
        0
    }
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 0xE0ul, 1ul, 1ul ), 0, 0, {TPL_CLASS_DRV} } // BT Radio
};

Exemple #9
0
CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{                                        
    {
        USBHostAndroidInit,
        USBHostAndroidEventHandler,
        0
    },
#ifndef DISABLE_BLUETOOTH
    {
        USBHostBluetoothInit,
        USBHostBluetoothEventHandler,
        0
    }
#endif
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
//    { INIT_VID_PID( 0x18D1ul, 0x4E12ul ), 0, 0, {0} }, // ADK
    { INIT_CL_SC_P( 0xFFul, 0x42ul, 0x01ul ), 0, 0, {TPL_CLASS_DRV} },  // ADB
#ifndef DISABLE_BLUETOOTH
    { INIT_CL_SC_P( 0xE0ul, 0x01ul, 0x01ul ), 0, 1, {TPL_CLASS_DRV} }   // Bluetooth
#endif
};

CLIENT_DRIVER_TABLE usbMediaInterfaceTable =
{                                           
    USBHostMSDSCSIInitialize,
    USBHostMSDSCSIEventHandler,
    0
};

// *****************************************************************************
// Client Driver Function Pointer Table for the USB Embedded Host foundation
// *****************************************************************************

CLIENT_DRIVER_TABLE usbClientDrvTable[] =
{                                        
    {
        USBHostMSDInitialize,
        USBHostMSDEventHandler,
        0
    }
};

// *****************************************************************************
// USB Embedded Host Targeted Peripheral List (TPL)
// *****************************************************************************

USB_TPL usbTPL[] =
{
    { INIT_CL_SC_P( 8ul, 6ul, 0x50ul ), 0, 0, {TPL_CLASS_DRV} } // Thumbdrives
};