4.4.6.3.17 USB_SetupInterfaceRequestSetInterface()

RETURN_CODE_t USB_SetupInterfaceRequestSetInterface (USB_SETUP_REQUEST_t * setupRequestPtr)

Setup function for the interface request to select the alternate setting.

A request to set interface according to USB 2.0 specification Ch. 9.4.10. Document: Universal Serial Bus Specification for USB 2.0

bRequest

wValue

wIndex

wLength

Data

SET_INTERFACE

Alternate setting

Interface

Zero

None

Parameters:
*setupRequestPtr

- Pointer to the request and its data

Returns:

SUCCESS or an Error code according to RETURN_CODE_t