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

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.8.
Definition:
DWORD USBAPI
USBGetConfigDesc(
Parameters:
Device
Points to the opened Device handle
Desc
Points to the buffer to return configuration descriptor in.
Size
Specifies the bytes count to be returned for the configuration. This parameter must be
equal to the size of the
acquires other descriptors for this configuration also). Also it should be a multiple of the
packet size of the default pipe.
ConfigIndex
Specifies requested configuration descriptor index (zero - biased)
pOverlapped
Points to variable used for overlapped I/O. Can be NULL.
Returns:
On success, routine returns
Comments:
The function returns the configuration descriptor in a
structure, followed by the interface and endpoint descriptors for that configuration. The
Driver can access the interface and endpoint descriptors as
and
Device-specific descriptors. The function sends a
to the Driver.
M
);
IN usb_t
IN int
OUT LPVOID
IN OUT LPDWORD
IN OUT OVERLAPPED *pOverlapped
USB_ENDPOINT_DESCRIPTOR
USBGetConfigDesc
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
USB_STATUS_SUCCESS
USB_CONFIGURATION_DESCRIPTOR
Device,
ConfigIndex,
Desc,
Size,
structures. The Driver also returns any class-specific or
MOTUSB Library.
, or else some MOTUSB error code
IOCTL_USB_GET_DESCRIPTOR
USB_CONFIGURATION_DESCRIPTOR
USB_INTERFACE_DESCRIPTOR
or greater (if the caller
request
4-12
,

Related parts for USB HOST DRIVER V03