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

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3.5.1.
IOCTL_USB_CLASS_OR_VENDOR_REQUEST
Performs class or vendor request to the USB.
DeviceIoControl parameters:
lpInBuffer
Pointer to the buffer containing
structure.
USB_CLASS_OR_VENDOR_REQUEST
nInBufferSize
Specify
input
buffer
size
in
bytes.
Must
be
equal
to
size
of
structure.
USB_CLASS_OR_VENDOR_REQUEST
lpOutBuffer
Points to the data buffer if request has IN or OUT data stage (
).
nOutBufferSize != 0
In case of IN data stage the data from the Device will be placed in this buffer, in case of
OUT data stage the data in this buffer will be transmitted to the Device. Must be NULL if
class or vendor request does not require a data stage.
nOutBufferSize
Specify data buffer size in bytes in case of class or vendor request with IN or OUT data
stage. Must be 0 if class or vendor request does not require a data stage.
Comments:
A SETUP request appears on the default pipe (endpoint zero) of the USB Device with the
given parameters. If a data phase is required an IN or OUT token appears on the bus and
the successful transfer is acknowledged by an IN or OUT token with a zero length data
packet from the Device. If no data phase is required an IN token appears on the bus and
the Device acknowledges with a zero length data packet.
M
3-7
Programming Interface.
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE

Related parts for USB HOST DRIVER V03