USB Library
USBHostClearEndpointErrors Function
Syntax
uint8_t USBHostClearEndpointErrors(
    uint8_t deviceAddress, 
    uint8_t endpoint
);
Description

This function is called to clear the internal error condition of a device's endpoint. It should be called after the application has dealt with the error condition on the device. This routine clears internal status only; it does not interact with the device.

Preconditions

None

Return Values
Return Values 
Description 
USB_SUCCESS 
Errors cleared 
USB_UNKNOWN_DEVICE 
Device not found 
USB_ENDPOINT_NOT_FOUND 
Specified endpoint not found 
Remarks

None

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla