USBHandleGetAddr Macro

Microchip USB Device Library

USB Device Library Help
USBHandleGetAddr Macro
C
#define USBHandleGetAddr(handle) (handle->ADR)
Description

Retrieves the address 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 
address of the current buffer that the input handle points to. 
Remarks

None

Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.