Usbio_pipe_control_transfer – Motorola USB08 User Manual

Page 209

Advertising
background image

Universal USB Device Driver (USBIO)

Programming Interface

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

209

USBIO_PIPE_CONTROL_TRANSFER

The USBIO_PIPE_CONTROL_TRANSFER structure provides
information used to generate a specific control request.

Definition

typedef struct _USBIO_PIPE_CONTROL_TRANSFER{

ULONG Flags;

UCHAR SetupPacket[8];

} USBIO_PIPE_CONTROL_TRANSFER;

Members

Flags

This field contains zero or the following value.

USBIO_SHORT_TRANSFER_OK

If this flag is set, the USBIO driver does not return an error if a data
packet received from the device is shorter than the maximum
packet size of the endpoint. Otherwise, a short packet causes an
error condition.

SetupPacket[8]

Specifies the setup packet to be sent to the device. The format of the
eight byte setup packet is defined by the Universal Serial Bus
Specification 1.1, Chapter 9.

Comments

This structure has to be used as an input for
IOCTL_USBIO_PIPE_CONTROL_TRANSFER_IN (

page 180

) and

IOCTL_USBIO_PIPE_CONTROL_TRANSFER_OUT (

page 181

)

operations.

Advertising