Jump to main content

##

# 2.2.4.34 USB_DEVICE_CONTROL_STATUS Enumeration

## C

    typedef enum {
      USB_DEVICE_CONTROL_STATUS_OK,
      USB_DEVICE_CONTROL_STATUS_ERROR
    } USB_DEVICE_CONTROL_STATUS;

## Summary

Control Transfer Status Stage Flags

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

## 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.