Ioctl_Usbio_Class_Or_Vendor_In_Request; Ioctl_Usbio_Class_Or_Vendor_Out_Request - Motorola USB08 Reference Manual

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

Universal USB Device Driver (USBIO)

IOCTL_USBIO_CLASS_OR_VENDOR_IN_REQUEST

lpInBuffer
nInBufferSize
lpOutBuffer
nOutBufferSize
Comments
Designer Reference Manual
162
The IOCTL_USBIO_CLASS_OR_VENDOR_IN_REQUEST operation
is used to generate a class or vendor specific device request with a data
transfer direction from device to host.
Pointer to a buffer that contains an
USBIO_CLASS_OR_VENDOR_REQUEST
This data structure has to be filled completely by the caller.
Specifies the size, in bytes, of the buffer pointed to by lpInBuffer,
which has to be sizeof(USBIO_CLASS_OR_VENDOR_REQUEST) for
this operation.
Pointer to a buffer that receives the data transferred from the device
during the data phase of the control transfer. If the request does not
return any data, this value can be NULL.
Specifies the size, in bytes, of the buffer pointed to by lpOutBuffer. If
this value is set to zero then there is no data transfer phase.
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
token appears on the bus and the successful transfer is acknowledged
by an OUT token with a zero length data packet. If no data phase is
required an IN token appears on the bus with a zero length data packet
from the USB device for acknowledge.
Universal USB Device Driver (USBIO)
(page
196) data structure.
USB08 Evaluation Board
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents