#define USBGenRead(ep,data,len) USBRxOnePacket(ep,data,len)
Receives the specified data out the specified endpoint.
Typical Usage:
//Read 64-bytes from endpoint USBGEN_EP_NUM, into the OUTPacket array. // Make sure to save the return handle so that we can check it later // to determine when the transfer is complete. if(!USBHandleBusy(USBOutHandle)) { USBOutHandle = USBGenRead(USBGEN_EP_NUM,(BYTE*)&OUTPacket,64); }
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
![]() |