Usbio_device_parameters – Motorola USB08 User Manual

Page 198

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

198

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

USBIO_DEVICE_PARAMETERS

The USBIO_DEVICE_PARAMETERS structure contains
device-specific parameter settings of the USBIO driver.

Definition

typedef struct _USBIO_DEVICE_PARAMETERS{

ULONG Options;

ULONG RequestTimeout;

} USBIO_DEVICE_PARAMETERS;

Members

Options

This field contains zero or any combination (bit-wise or) of the
following values.

USBIO_RESET_DEVICE_ON_CLOSE

If this option is set, the USBIO driver generates an USB device
reset after the last handle to the device was closed by the
application. When this option is active the

USBIO_UNCONFIGURE_ON_CLOSE

flag will be ignored.

The default state of this option is defined by the registry parameter

ResetDeviceOnClose

.

USBIO_UNCONFIGURE_ON_CLOSE

If this option is set, the USBIO driver sets the USB device to its
unconfigured state after the last handle to the device was closed
by the application.

The default state of this option is defined by the registry parameter

UnconfigureOnClose

.

USBIO_ENABLE_REMOTE_WAKEUP

If this option is set and the USB device supports the Remote
Wakeup feature the USBIO driver will support Remote Wakeup for
the operating system. The USB device is able to wake the system
from a sleep state. The Remote Wakeup feature is defined by the
USB 1.1 specification.
The Remote Wakeup feature requires that the device is opened by
an application and an USB configuration is set (device is
configured).

The default state of this option is defined by the registry parameter

EnableRemoteWakeup

.

Advertising