]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - msp430-bsl/msp430-bsl.git/blobdiff - USB_API/USB_HID_API/UsbHidReportHandler.c
MSP-BSL v3.0
[msp430-bsl/msp430-bsl.git] / USB_API / USB_HID_API / UsbHidReportHandler.c
diff --git a/USB_API/USB_HID_API/UsbHidReportHandler.c b/USB_API/USB_HID_API/UsbHidReportHandler.c
deleted file mode 100644 (file)
index 6e12cf9..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * UsbHidReportHandler.c
- *
- * USB HID functions for Report Handler
- *
- * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/ 
- * 
- * 
- *  Redistribution and use in source and binary forms, with or without 
- *  modification, are permitted provided that the following conditions 
- *  are met:
- *
- *    Redistributions of source code must retain the above copyright 
- *    notice, this list of conditions and the following disclaimer.
- *
- *    Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the 
- *    documentation and/or other materials provided with the   
- *    distribution.
- *
- *    Neither the name of Texas Instruments Incorporated nor the names of
- *    its contributors may be used to endorse or promote products derived
- *    from this software without specific prior written permission.
- *
- *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
- *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
- *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
- *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
- *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
- *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
- *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
- *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-/*----------------------------------------------------------------------------+
-|                                                                             |
-|                              Texas Instruments                              |
-|                                                                             |
-|                          MSP430 USB-Example (HID Driver)                    |
-|                                                                             |
-+-----------------------------------------------------------------------------+
-|  Source: HidReportHandler.c, File Version 1.00 2009/12/03                   |
-|  Author: RSTO                                                               |
-|                                                                             |
-|  WHO          WHEN         WHAT                                             |
-|  ---          ----------   ------------------------------------------------ |
-|  RSTO         2009/03/03   born                                             |
-|  RSTO         2009/07/17   added __data16 qualifier for USB buffers         |
-+----------------------------------------------------------------------------*/
-
-#include "../USB_Common/device.h"
-#include "../USB_Common/types.h"              // Basic Type declarations
-#include "../USB_Common/defMSP430USB.h"
-#include "../USB_Common/usb.h"                // USB-specific Data Structures
-#include "UsbHidReportHandler.h"
-#include <descriptors.h>
-
-#ifdef _HID_
-
-extern __no_init tEDB0 __data16 tEndPoint0DescriptorBlock;
-extern __no_init tEDB __data16 tInputEndPointDescriptorBlock[];
-extern __no_init tEDB __data16 tOutputEndPointDescriptorBlock[];
-
-
-//----------------------------------------------------------------------------
-
-VOID Handler_InReport(VOID)
-{
-}
-
-//----------------------------------------------------------------------------
-
-VOID Handler_InFeature(VOID)
-{
-    switch((BYTE)tSetupPacket.wValue)    // tSetupPacket.wValue is contains HID-Report-ID
-    {
-        case 1:
-            // user's specified code...
-            break;
-
-         case 2:
-            // user's specified code...
-            break;
-
-        default:;
-    }
-    usbSendDataPacketOnEP0((PBYTE)&abUsbRequestReturnData);
-}
-
-//----------------------------------------------------------------------------
-
-VOID Handler_OutReport(VOID)
-{
-}
-
-//----------------------------------------------------------------------------
-
-VOID Handler_OutFeature(VOID)
-{
-    switch((BYTE)tSetupPacket.wValue)    // tSetupPacket.wValue is contains HID-Report-ID
-    {
-        case 1:
-            // user's specified code...
-            break;
-
-         case 2:
-            // user's specified code...
-            break;
-
-        default:;
-    }
-}
-
-#endif //_HID_
-/*----------------------------------------------------------------------------+
-| End of source file                                                          |
-+----------------------------------------------------------------------------*/
-/*------------------------ Nothing Below This Line --------------------------*/