2.2.4.35 USB_DEVICE_CONTROL_TRANSFER_RESULT Enumeration

C

typedef enum {
  USB_DEVICE_CONTROL_TRANSFER_RESULT_FAILED,
  USB_DEVICE_CONTROL_TRANSFER_RESULT_SUCCESS
} USB_DEVICE_CONTROL_TRANSFER_RESULT;

Summary

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.

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.