USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 105

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
4.6.28. USBSetConfiguration
Definition:
DWORD USBAPI
USBSetConfiguration(
Parameters:
Device
Points to the opened Device handle.
ConfigIndex
Configuration descriptor index.
InterfaceCount
Interfaces count that should be configured with this call. Should be more than or equal to
1. If –1 is specified, all interfaces are configured.
Interfaces
Points to the buffer that contains the array of interface information items for each
interface configured. The count of valid entries should be equal to
Must be NULL if
pOverlapped
Points to variable used for overlapped I/O. Can be NULL.
Returns:
On success, routine returns USB_STATUS_SUCCESS, or else some MOTUSB error
code.
Comments:
This function configures the Device. The caller can specify only the set of interfaces that
will be configured for a selected configuration. To invoke this request, the Device first
must be unconfigured. This request causes all of the status and configuration values
associated with endpoints in the affected interfaces, to be set to their default values.
The function sends a
M
);
IN usb_t
IN UCHAR
IN LONG
IN PUSB_INTERFACE_SETTING
IN OUT OVERLAPPED
InterfaceCount
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
IOCTL_USB_SET_CONFIGURATION
MOTUSB Library.
is equal to –1.
Device,
ConfigIndex,
InterfaceCount,
Interfaces,
*pOverlapped
request to the Driver.
InterfaceCount
4-35
.

Related parts for USB HOST DRIVER V03