4.4.6.3.5 SetupDeviceRequestGetDescriptor()

RETURN_CODE_t SetupDeviceRequestGetDescriptor (USB_SETUP_REQUEST_t * setupRequestPtr)

Gets the device descriptor.

Parameters:
*setupRequestPtr

- Pointer to the setup request

Returns:

SUCCESS or an Error code according to RETURN_CODE_t