2.5.4.5 USB_DEVICE_CDC_EVENT_DATA_READ_COMPLETE Structure

C

typedef struct {
  USB_DEVICE_CDC_TRANSFER_HANDLE handle;
  size_t length;
  USB_DEVICE_CDC_RESULT status;
} USB_DEVICE_CDC_EVENT_DATA_WRITE_COMPLETE, USB_DEVICE_CDC_EVENT_DATA_READ_COMPLETE, USB_DEVICE_CDC_EVENT_DATA_SERIAL_STATE_NOTIFICATION_COMPLETE;

Summary

USB Device CDC Function Driver Read and Write Complete Event Data.

This data type defines the data structure returned by the driver along with USB_DEVICE_CDC_EVENT_READ_COMPLETE and USB_DEVICE_CDC_EVENT_WRITE_COMPLETE events.

Members

Members Description
USB_DEVICE_CDC_TRANSFER_HANDLE handle; Transfer handle associated with this read or write request
size_t length; Indicates the amount of data (in bytes) that was read or written
USB_DEVICE_CDC_RESULT status; Completion status of the transfer

Remarks

None.