bool USBHostTransferIsComplete( uint8_t deviceAddress, uint8_t endpoint, uint8_t * errorCode, uint32_t * byteCount );
This function initiates whether or not the last endpoint transaction is complete. If it is complete, an error code and the number of bytes transferred are returned.
For isochronous transfers, byteCount is not valid. Instead, use the returned byte counts for each EVENT_TRANSFER event that was generated during the transfer.
None
Return Values |
Description |
true |
Transfer is complete. |
false |
Transfer is not complete. |
Possible values for errorCode are:
MLA - USB Library Help Version : 2.16
![]() |