4.4.6.3.14 USB_SetupInterfaceRequestGetDescriptor()

RETURN_CODE_t USB_SetupInterfaceRequestGetDescriptor (USB_SETUP_REQUEST_t * setupRequestPtr)

Setup function for the interface request for class-specific descriptors.

bRequest

wValue

wIndex

wLength

Data

GET_DESCRIPTOR

Type and index

Zero

Length

Descriptor

Parameters:
*setupRequestPtr

- Pointer to the request and its data

Returns:

SUCCESS or an Error code according to RETURN_CODE_t