C
#define USBHandleGetLength(handle) (handle->CNT)
Description
Retrieves the length of the destination buffer of the input handle
Preconditions
None
Parameters
Parameters |
Description |
USB_HANDLE handle |
the handle to the transfer you want the address for. |
Return Values
Return Values |
Description |
WORD |
length of the current buffer that the input handle points to. If the transfer is complete then this is the length of the data transmitted or the length of data actually received. |
Remarks
None
MCHPFSUSB Device Library > Stack > Public API Members > Functions and Macros > USBHandleGetLength Macro