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

This function indicates whether or not the last read request is complete. If the functions returns true, the returned byte count and error code are valid. Since only one read request 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