USB HID Function Driver File
This file contains all of functions, macros, definitions, variables, datatypes, etc. that are required for usage with the HID function driver. This file should be included in projects that use the HID function driver. This file should also be included into the usb_descriptors.c file and any other user file that requires access to the HID interface.
This file is located in the "<Install Directory>\Microchip\Include\USB" directory.
When including this file in a new project, this file can either be referenced from the directory in which it was installed or copied directly into the user application folder. If the first method is chosen to keep the file located in the folder in which it is installed then include paths need to be added so that the library and the application both know where to reference each others files. If the application folder is located in the same folder as the Microchip folder (like the current demo folders), then the following include paths need to be added to the application's project:
..\Include
..\..\Include
..\..\MicrochipInclude
..\..\<Application Folder>
..\..\..\<Application Folder>
If a different directory structure is used, modify the paths as required. An example using absolute paths instead of relative paths would be the following:
C:\Microchip Solutions\Microchip\Include
C:\Microchip Solutions\My Demo Application
|
Name |
Description |
|
This routine handles HID specific request that happen on EP0. This function should be called from the USBCBCheckOtherReq() call back function whenever implementing a HID device. |
|
Name |
Description |
|
Retreives the status of the buffer ownership | |
|
Receives the specified data out the specified endpoint | |
|
Retreives the status of the buffer ownership | |
|
Sends the specified data out the specified endpoint |