MPLAB Harmony USB Stack
|
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.
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;
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 |
None.
MPLAB Harmony USB Stack
|