#define HIDTxPacket USBTxOnePacket
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)); }
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
![]() |