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

Control Transfer Status Stage Flags 

This enumeration defines the flags to be used with the USB_DEVICE_ControlStatus function.

C
typedef enum {
  USB_DEVICE_CONTROL_STATUS_OK,
  USB_DEVICE_CONTROL_STATUS_ERROR
} USB_DEVICE_CONTROL_STATUS;
Members
Members 
Description 
USB_DEVICE_CONTROL_STATUS_OK 
Using this flag acknowledges the Control transfer. A Zero Length Packet will be transmitted in the status stage of the control transfer. 
USB_DEVICE_CONTROL_STATUS_ERROR 
Using this flag stalls the control transfer. This flags should be used if the control transfer request needs to be declined. 
Remarks

None.