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

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.12. USBGetEndpointDesc
Definition:
DWORD USBAPI
USBGetEndpointDesc(
Parameters:
Device
Points to the opened Device handle
ConfigIndex
Specifies configuration descriptor index. The value –1 means selected configuration.
InterfaceIndex
Interface descriptor index within configuration. The value –1 means it is necessary to
look up the endpoint descriptor among all the configured interfaces.
AltSetting
Interface alternate setting to lookup endpoint the descriptor within.
EndpointIndex
Endpoint descriptor index within the interface. If
–1 this parameter should specify the endpoint address. The descriptor will be looking
through all the configured interfaces.
pDesciptor
Points to the buffer for requested endpoint descriptor
pOverlapped
Points to variable used for overlapped I/O. Can be NULL.
Returns:
On success, routine returns
M
);
IN usb_t
IN BYTE
IN BYTE
IN BYTE
IN BYTE
OUT PUSB_ENDPOINT_DESCRIPTOR pDescriptor,
IN OUT OVERLAPPED
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
USB_STATUS_SUCCESS
MOTUSB Library.
*pOverlapped
ConfigIndex,
EndpointIndex,
InterfaceIndex,
altSetting,
Device,
, or else some MOTUSB error code.
InterfaceIndex
parameter is equal to
4-16

Related parts for USB HOST DRIVER V03