USB Library
USBHostHIDWriteIsComplete Function
Syntax
bool USBHostHIDWriteIsComplete(
    uint8_t deviceAddress, 
    uint8_t * errorCode, 
    uint8_t * byteCount
);
Description

This function indicates whether or not the last write request is complete. If the functions returns true, the returned byte count and error code are valid. Since only one write can be performed at once and only one endpoint can be used, we only need to know the device address.

Preconditions

None

Return Values
Return Values 
Description 
true 
Transfer is complete, errorCode is valid 
false 
Transfer is not complete, errorCode is not valid 
MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla