4.4.6.3.15 USB_SetupInterfaceRequestGetInterface()

RETURN_CODE_t USB_SetupInterfaceRequestGetInterface (USB_SETUP_REQUEST_t * setupRequestPtr)

Returns the alternate setting for the specified interface.

Format for GET_INTERFACE request according to USB 2.0 specification Ch 9.4.4. Document: Universal Serial Bus Specification for USB 2.0.

bRequest

wValue

wIndex

wLength

Data

GET_INTERFACE

Zero

Interface

One

Alternate setting

Parameters:
*setupRequestPtr

- Pointer to the request and its data

Returns:

SUCCESS or an Error code according to RETURN_CODE_t