USB Libraries Help > USB Device Libraries > USB HID Device Library > Files > usb_device_hid.h
MPLAB Harmony USB Stack
usb_device_hid.h

Microchip Technology Inc.

File Name

usb_hid_function_driver.h

Description

USB HID Function Driver 

This file contains the API definitions for the USB Device HID Function Driver. The application should include this file if it needs to use the HID Function Driver API.

Enumerations
 
Name 
Description 
 
USB Device HID Function Driver Events 
 
USB Device HID Function Driver USB Device HID Result enumeration. 
Functions
 
Name 
Description 
 
This function registers a event handler for the specified HID function driver instance. 
 
This function submits the buffer to HID function driver library to receive a report from host to device. 
 
This function submits the buffer to HID function driver library to send a report from device to host. 
 
This function cancels a scheduled HID Device data transfer. 
Macros
 
Name 
Description 
 
USB Device HID Function Driver Event Handler Response Type None. 
 
This is a pointer to a group of HID Function Driver callback function pointers. 
 
USB Device HID Function Driver Index Constants 
 
This is macro USB_DEVICE_HID_INDEX_1. 
 
This is macro USB_DEVICE_HID_INDEX_2. 
 
This is macro USB_DEVICE_HID_INDEX_3. 
 
This is macro USB_DEVICE_HID_INDEX_4. 
 
This is macro USB_DEVICE_HID_INDEX_5. 
 
This is macro USB_DEVICE_HID_INDEX_6. 
 
This is macro USB_DEVICE_HID_INDEX_7. 
 
USB Device HID Function Driver Invalid Transfer Handle Definition. 
Structures
 
Name 
Description 
 
USB Device HID Get Idle Event Data Type. 
 
USB Device HID Get Report Event Data Type. 
 
USB Device HID Report Received Event Data Type. 
 
USB Device HID Report Sent Event Data Type. 
 
USB Device HID Set Idle Event Data Type. 
 
USB Device HID Set Protocol Event Data Type. 
 
USB Device HID Set Report Event Data Type. 
 
USB Device HID Function Driver Initialization Data Structure 
Types
 
Name 
Description 
 
USB Device HID Event Handler Function Pointer Type. 
 
USB Device HID Function Driver Event Callback Response Type 
 
USB device HID Function Driver Index. 
 
USB Device HID Function Driver Transfer Handle Definition.