USB Library
HIDTxPacket Macro
Syntax
#define HIDTxPacket USBTxOnePacket
Description

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(!HIDTxHandleBusy(USBInHandle))
{
    //Send the data contained in the ToSendDataBuffer[] array out on
    //  endpoint HID_EP
    USBInHandle = HIDTxPacket(HID_EP,(uint8_t*)&ToSendDataBuffer[0],sizeof(ToSendDataBuffer));
}
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