bool USBHandleBusy( USB_HANDLE handle );
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)); }
None
Return Values |
Description |
true |
The specified handle is busy |
false |
The specified handle is free and available for a transfer |
None
MLA - USB Library Help Version : 2.16
![]() |