Jump to main content

##

# 3.4.4.21 USB_HOST_CDC_EVENT_WRITE_COMPLETE_DATA Structure

## C

    typedef struct {
      USB_HOST_CDC_TRANSFER_HANDLE transferHandle;
      USB_HOST_CDC_RESULT result;
      size_t length;
    } USB_HOST_CDC_EVENT_SERIAL_STATE_NOTIFICATION_RECEIVED_DATA, USB_HOST_CDC_EVENT_READ_COMPLETE_DATA, USB_HOST_CDC_EVENT_WRITE_COMPLETE_DATA;

## Summary

USB Host CDC Client Driver Event Data.

This data type defines the data structure returned by the driver along with the following events: USB_HOST_CDC_EVENT_READ_COMPLETE_DATA, USB_HOST_CDC_EVENT_WRITE_COMPLETE_DATA.

## Members

Members | Description
USB_HOST_CDC_TRANSFER_HANDLE transferHandle; | Transfer handle of this transfer
USB_HOST_CDC_RESULT result; | Termination transfer status
size_t length; | Size of the data transferred in the request

## Remarks

None.