USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 100

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
4.6.23. USBReadPipe
Definition:
DWORD USBAPI
USBReadPipe(
Parameters:
pipe
Points to the opened pipe handle.
buffer
Points buffer for input data.
size
Specifies requested bytes count. Function returns bytes count actually transmitted in the
variable pointed by this parameter.
pOverlapped
Points to variable used for overlapped I/O. Can be NULL to issue a synchronous request.
Returns:
On success, routine returns
Comments:
This function performs IN transfers from Device to Host. The caller specifies the transfer
size in bytes size parameter. With bulk and interrupt transfers, if the current maximum
transfer length is less than the requested size, the Driver breaks the transfer into blocks.
Note that for isochronous transfers, the
transfer buffer (see 3.4).
M
);
IN usb_t
OUT LPVOID
IN OUT DWORD
IN OUT OVERLAPPED *pOverlapped
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
USB_STATUS_SUCCESS
pipe,
buf,
*size,
MOTUSB Library.
buffer
parameter should point to the isochronous
, or else some MOTUSB error code
4-30

Related parts for USB HOST DRIVER V03