Designer Reference Manual
USB08 Evaluation Board
180
Universal USB Device Driver (USBIO)
MOTOROLA
Universal USB Device Driver (USBIO)
IOCTL_USBIO_PIPE_CONTROL_TRANSFER_IN
The IOCTL_USBIO_PIPE_CONTROL_TRANSFER_IN operation is
used to generate a specific request (setup packet) for a control pipe with
a data transfer direction from device to host.
lpInBuffer
Pointer to a buffer that contains an
USBIO_PIPE_CONTROL_TRANSFER (
) data structure. This
data structure has to be filled completely by the caller.
nInBufferSize
Specifies the size, in bytes, of the buffer pointed to by
lpInBuffer
,
which has to be sizeof(USBIO_PIPE_CONTROL_TRANSFER) for this
operation.
lpOutBuffer
Pointer to a buffer that receives the data transferred from the device
during the data phase of the control transfer. If no data transfer is
required the pointer may be NULL.
nOutBufferSize
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.
Comments
This request is intended to be used with additional control pipes a device
might provide. It is not possible to generate a control transfer for the
default endpoint zero with this operation.