==============================================================================================
                                   USB DEVICE HID Example
===============================================================================================
Copyright(C) Redpine Signals 2016
All rights reserved by Redpine Signals.

This program should be used on your own responsibility.
Redpine Signals assumes no responsibility for any losses
incurred by customers or third parties arising from the use of this file. 
                                                  
Function description:
===============================================================================================
This is an USB Device HID example.This is an HID example that demonstrates Human Interface Device (HID)
on USB Device. The board LEDs and push buttons can be accessed from the PC through a custom 
HID Client Program (<Keil-root>\ARM\Utilities\HID_Client\Release\HIDClient.exe).

===============================================================================================
Environment
===============================================================================================
Test Board:
---------------------
Smart EVK 

User Interface:         input:  Onboard push button's i.e wake up switch
                        output: Tri-LED 
                       
---------------------


Assistance software:
---------------------
HID client Program 

===============================================================================================
Usage Procedure:
===============================================================================================
compile and run the application.

Detailed description is available on:
http://www.keil.com/pack/doc/MW/USB/html/host_hid_tutorial.html


===============================================================================================
Pass criteria:
===============================================================================================

Opent the HID client Program(<Keil-root>\ARM\Utilities\HID_Client\Release\HIDClient.exe) 
1.Select appropriate usb device.
2.After selection of usb device the onboard led's can be control from HID Client Program and 
3.Push button's status can be seen on HID Client Program

===============================================================================================
Note:
===================================================================================================
1) ISP button should be off whenever code is loading to target.
2) With Default configuration usb work as High speed, to work USB as Full Speed device below 
   changes need to be there
    
   - In USBD_Config_0.c file USBD0_HS macro should be 0 
   
       24:  //   <o.0>High-speed
       25:  //   <i>Enable High-speed functionality (if device supports it).
       26:  #define USBD0_HS                        0   
   
   - In RTE_Device.h file RTE_USB_USB0_HS_EN macro should be 0.
   
     2354:   //   <h> Device [Driver_USBD0]
     2355:   //   <i> Configuration settings for Driver_USBD0 in component ::Drivers:USB Device
     2356:   //     <o.0> High-speed
     2357:   //     <i> Enable high-speed functionality
     2358:   #define   RTE_USB_USB0_HS_EN            0
   
===================================================================================================




