Usbio_interface_setting – Motorola USB08 User Manual

Page 194

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

194

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_INTERFACE_SETTING

The USBIO_INTERFACE_SETTING structure provides information
used to configure an interface and its endpoints.

Definition

typedef struct _USBIO_INTERFACE_SETTING{

USHORT InterfaceIndex;

USHORT AlternateSettingIndex;

ULONG MaximumTransferSize;

} USBIO_INTERFACE_SETTING;

Members

InterfaceIndex

Specifies the interface. The value is defined by the device. Refer to
the Universal Serial Bus Specification 1.1, Chapter 9 for more
information.

AlternateSettingIndex

Specifies the alternate setting to be set for this interface. The value is
defined by the device. Refer to the Universal Serial Bus Specification
1.1, Chapter 9 for more information.

MaximumTransferSize

Specifies the maximum size, in bytes, of data transfers to or from
endpoints of this interface. The value is user-defined and is valid for
all endpoints of this interface. If no special requirement exists a value
of 4096 (4K) should be used.

Comments

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

page 161

) and

IOCTL_USBIO_SET_CONFIGURATION (

page 159

) requests.

Advertising