#define USBGenWrite(ep,data,len) USBTxOnePacket(ep,data,len)
This function sends the specified data out the specified endpoint and returns a handle to the transfer information.
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,(BYTE*)&INPacket[0],sizeof(INPacket)); }
None
Return Values |
Description |
a handle for the transfer. This information should be kept to track the status of the transfer |
None
MLA - USB Library Help Version : 2.16
![]() |