2.3.4.12 USB_DEVICE_AUDIO_EVENT_DATA_WRITE_COMPLETE Structure

C

typedef struct {
  USB_DEVICE_AUDIO_TRANSFER_HANDLE handle;
  uint16_t length;
  uint8_t interfaceNum;
  USB_DEVICE_AUDIO_RESULT status;
} USB_DEVICE_AUDIO_EVENT_DATA_WRITE_COMPLETE, USB_DEVICE_AUDIO_EVENT_DATA_READ_COMPLETE;

Summary

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

This data type defines the data structure returned by the driver along with USB_DEVICE_AUDIO_EVENT_READ_COMPLETE, USB_DEVICE_AUDIO_EVENT_WRITE_COMPLETE, events.

Members

Members Description
USB_DEVICE_AUDIO_TRANSFER_HANDLE handle; Transfer handle associated with this read or write request
uint16_t length; Indicates the amount of data (in bytes) that was read or written
uint8_t interfaceNum; Interface Number
USB_DEVICE_AUDIO_RESULT status; Completion status of the transfer

Remarks

None.