Usbio_class_or_vendor_request – Motorola USB08 User Manual

Page 196

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

196

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_CLASS_OR_VENDOR_REQUEST

The USBIO_CLASS_OR_VENDOR_REQUEST structure provides
information used to generate a class or vendor specific device request.

Definition

typedef struct _USBIO_CLASS_OR_VENDOR_REQUEST{

ULONG Flags;

USBIO_REQUEST_TYPE Type;

USBIO_REQUEST_RECIPIENT Recipient;

UCHAR RequestTypeReservedBits;

UCHAR Request;

USHORT Value;

USHORT Index;

} USBIO_CLASS_OR_VENDOR_REQUEST;

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.

Type

Specifies the type of the device request. The values are defined by
the enumeration type USBIO_REQUEST_TYPE (

page 216

).

Recipient

Specifies the recipient of the device request. The values are defined
by the enumeration type USBIO_REQUEST_RECIPIENT
(

page 215

).

RequestTypeReservedBits

Specifies the reserved bits of the

bmRequestType

field of the setup

packet.

Request

Specifies the value of the bRequest field of the setup packet.

Value

Specifies the value of the wValue field of the setup packet.

Index

Specifies the value of the wIndex field of the setup packet.

Advertising