USB Library
HIDRxPacket Macro
Syntax
#define HIDRxPacket USBRxOnePacket
Description

Receives the specified data out the specified endpoint. 

Typical Usage:

//Read 64-uint8_ts from endpoint HID_EP, into the ReceivedDataBuffer array.
//  Make sure to save the return handle so that we can check it later
//  to determine when the transfer is complete.
USBOutHandle = HIDRxPacket(HID_EP,(uint8_t*)&ReceivedDataBuffer,64);
Preconditions

None

Return Values
Return Values 
Description 
a handle for the transfer. This information should be kept to track the status of the transfer 
Remarks

None

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