Efi_usb_hc_protocol.syncinterrupttransfer(), Syncinterrupttransfer() – Intel Extensible Firmware Interface User Manual
Page 559

Protocols
— USB Support
Version 1.10
12/01/02
14-19
EFI_USB_HC_PROTOCOL.SyncInterruptTransfer()
Summary
Submits synchronous interrupt transfer to an interrupt endpoint of a USB device.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_USB_HC_PROTOCOL_SYNC_INTERRUPT_TRANSFER) (
IN EFI_USB_HC_PROTOCOL
*This,
IN UINT8
DeviceAddress,
IN UINT8
EndPointAddress,
IN BOOLEAN
IsSlowDevice,
IN UINT8
MaximumPacketLength,
IN OUT VOID
*Data,
IN OUT UINTN
*DataLength,
IN OUT UINT8
*DataToggle,
IN UINTN
TimeOut,
OUT UINT32
*TransferResult
);
Parameters
This
A pointer to the
instance. Type
EFI_USB_HC_PROTOCOL
is defined in Section 14.1.
DeviceAddress
Represents the address of the target device on the USB, which is
assigned during USB enumeration.
EndPointAddress
The combination of an endpoint number and an endpoint
direction of the target USB device. Each endpoint address
supports data transfer in one direction except the control
endpoint (whose default endpoint address is zero). It is the
caller’s responsibility to make sure that the
EndPointAddress
represents an interrupt endpoint.
IsSlowDevice
Indicates whether the target device is slow device or full-speed
device.
MaximumPacketLength
Indicates the maximum packet size the target endpoint is capable
of sending or receiving.
Data
A pointer to the buffer of data that will be transmitted to USB
device or received from USB device.
DataLength
On input, the size, in bytes, of the data buffer specified by
Data
.
On output, the number of bytes transferred.