USB Libraries Help > USB Device Libraries > USB Device Layer Library > Library Interface > g) Data Types and Constants > USB_DEVICE_CONTROL_TRANSFER_RESULT Enumeration
MPLAB Harmony USB Stack
USB_DEVICE_CONTROL_TRANSFER_RESULT Enumeration

USB Device Layer Control Transfer Result Enumeration 

These enumerated values are the possible return values for control transfer operations. These values are returned by the USB_DEVICE_ControlStatus, USB_DEVICE_ControlSend and the USB_DEVICE_ControlReceive functions.

C
typedef enum {
  USB_DEVICE_CONTROL_TRANSFER_RESULT_FAILED,
  USB_DEVICE_CONTROL_TRANSFER_RESULT_SUCCESS
} USB_DEVICE_CONTROL_TRANSFER_RESULT;
Members
Members 
Description 
USB_DEVICE_CONTROL_TRANSFER_RESULT_FAILED 
Control transfer failed. This could be because the control transfer handle is no more valid since the control transfer was aborted by host by sending a new setup packet 
USB_DEVICE_CONTROL_TRANSFER_RESULT_SUCCESS 
Control transfer was successful 
Remarks

None.