Protocols — USB Support
Version 1.10 12/01/02 14-49
Description
This function allows a USB device driver to communicate with a USB device through a
synchronous interrupt transfer. The UsbSyncInterruptTransfer() differs from
UsbAsyncInterruptTransfer()
described in the previous section in that it is a blocking
transfer request. The caller must wait for the function return, either successfully or unsuccessfully.
Status Code Returned
EFI_SUCCESS The sync interrupt transfer has been successfully executed.
EFI_INVALID_PARAMETER
The parameter
DeviceEndpoint is not valid.
EFI_INVALID_PARAMETER
Data is NULL.
EFI_INVALID_PARAMETER
DataLength is NULL.
EFI_INVALID_PARAMETER
Status is NULL.
EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
EFI_TIMEOUT
The transfer cannot be completed within
Timeout timeframe.
EFI_DEVICE_ERROR The transfer failed other than timeout, and the transfer status is returned
in
Status.