USB Libraries Help > USB Device Libraries > USB HID Device Library > Library Interface > b) Data Types and Constants > USB_DEVICE_HID_RESULT Enumeration
MPLAB Harmony USB Stack
USB_DEVICE_HID_RESULT Enumeration

USB Device HID Function Driver USB Device HID Result enumeration. 

This enumeration lists the possible USB Device HID Function Driver operation results. These values USB Device HID Library functions.

C
typedef enum {
  USB_DEVICE_HID_RESULT_OK,
  USB_DEVICE_HID_RESULT_ERROR_TRANSFER_QUEUE_FULL,
  USB_DEVICE_HID_RESULT_ERROR_INSTANCE_NOT_CONFIGURED,
  USB_DEVICE_HID_RESULT_ERROR_INSTANCE_INVALID,
  USB_DEVICE_HID_RESULT_ERROR_TERMINATED_BY_HOST,
  USB_DEVICE_HID_RESULT_ERROR
} USB_DEVICE_HID_RESULT;
Members
Members 
Description 
USB_DEVICE_HID_RESULT_OK 
The operation was successful 
USB_DEVICE_HID_RESULT_ERROR_TRANSFER_QUEUE_FULL 
The transfer queue is full. No new transfers can be

  • scheduled

 

USB_DEVICE_HID_RESULT_ERROR_INSTANCE_NOT_CONFIGURED 
The specified instance is not configured yet 
USB_DEVICE_HID_RESULT_ERROR_INSTANCE_INVALID 
The specified instance is not provisioned in the system 
USB_DEVICE_HID_RESULT_ERROR_TERMINATED_BY_HOST 
Transfer terminated by host because of a stall clear 
USB_DEVICE_HID_RESULT_ERROR 
General Error 
Remarks

None.