USB Library
USBHandleBusy Function
Syntax
bool USBHandleBusy(
    USB_HANDLE handle
);
Description

Checks to see if the input handle is busy 

Typical Usage

//make sure that the last transfer isn't busy by checking the handle
if(!USBHandleBusy(USBGenericInHandle))
{
    //Send the data contained in the INPacket[] array out on
    //  endpoint USBGEN_EP_NUM
    USBGenericInHandle = USBGenWrite(USBGEN_EP_NUM,(uint8_t*)&INPacket[0],sizeof(INPacket));
}
Preconditions

None

Return Values
Return Values 
Description 
true 
The specified handle is busy 
false 
The specified handle is free and available for a transfer 
Remarks

None

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