2.2.4.55 USB_DEVICE_EVENT_DATA_ENDPOINT_READ_COMPLETE Structure

C

typedef struct {
  USB_DEVICE_TRANSFER_HANDLE transferHandle;
  size_t length;
  USB_DEVICE_RESULT status;
} USB_DEVICE_EVENT_DATA_ENDPOINT_READ_COMPLETE, USB_DEVICE_EVENT_DATA_ENDPOINT_WRITE_COMPLETE;

Summary

USB Device Layer Endpoint Read and Write Complete Event Data type.

This data type defines the type of data that is returned by the Device Layer along with the USB_DEVICE_EVENT_ENDPOINT_WRITE_COMPLETE and USB_DEVICE_EVENT_ENDPOINT_READ_COMPLETE events.

Members

Members Description
USB_DEVICE_TRANSFER_HANDLE transferHandle; Transfer Handle
size_t length; Size of transferred data
USB_DEVICE_RESULT status; Completion status of the transfer

Remarks

None.