Ioctl_usbio_set_device_power_state – Motorola USB08 User Manual

Page 169

Advertising
background image

Universal USB Device Driver (USBIO)

Programming Interface

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

169

IOCTL_USBIO_SET_DEVICE_POWER_STATE

The IOCTL_USBIO_SET_DEVICE_POWER_STATE operation sets the
power state of the device.

lpInBuffer

Pointer to a buffer that contains an USBIO_DEVICE_POWER
(

page 206

) data structure.

nInBufferSize

Specifies the size, in bytes, of the buffer pointed to by

lpInBuffer

,

which has to be at least sizeof(USBIO_DEVICE_POWER) for this
operation.

lpOutBuffer

Not used with this operation. Set to NULL.

nOutBufferSize

Not used with this operation. Set to zero.

Comments

The device power state is maintained internally by the USBIO driver.
This request may be used to change the current power state.

If the device is set to a power state different from D0 all pending requests
should be cancelled before.

See Also

See

E.4.3 Power Management

(

page 146

) and the description of the

data structure USBIO_DEVICE_POWER (

page 206

) for details.

Advertising