Usbio_set_configuration – Motorola USB08 User Manual

Page 195

Advertising
background image

Universal USB Device Driver (USBIO)

Programming Interface

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

195

USBIO_SET_CONFIGURATION

The USBIO_SET_CONFIGURATION structure provides information
used to set the device configuration.

Definition

typedef struct _USBIO_SET_CONFIGURATION{

USHORT ConfigurationIndex;

USHORT NbOfInterfaces;

USBIO_INTERFACE_SETTING

InterfaceList[USBIO_MAX_INTERFACES];

} USBIO_SET_CONFIGURATION;

Members

ConfigurationIndex

Specifies the configuration to be set. The meaning of the value is
defined by the device. Refer to the Universal Serial Bus Specification
1.1, Chapter 9 for more information.

NbOfInterface

Specifies the number of interfaces in this configuration. This is the
number of valid entries in InterfaceList.

InterfaceList [USBIO_MAX_INTERFACES]

An array of USBIO_INTERFACE_SETTING (

page 194

) structures

that describes each interface in the configuration. There have to be
NbOfInterfaces valid entries in this array.

Comments

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

page 159

) requests.

Advertising