IRU:WaitRecvTransfer: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Made (talk | contribs)
Correct the description to the actual behaviour of the command.
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
|-
|-
| 2
| 2
| Total amount of newly received data.
| Total amount of newly received data, loaded from the same field which [[IRU:GetRecvTransferCount]] uses.
|}
|}


=Description=
=Description=
This command waits for the data-receive transfer to finish.
This command cancels the current data-receive transfer and waits for the [[IRU:GetTransferState|Transfer State]] to be Ready before returning. The response includes the amount of data already written to the shared memory by the time the transfer is cancelled.
The event returned by [[IRU:GetRecvFinishedEvent|GetRecvFinishedEvent]] will not be signalled when the transfer is cancelled this way.

Latest revision as of 21:07, 11 August 2025

Request

Index Word Description
0 Header code [0x00060000]

Response

Index Word Description
0 Header code
1 Result code
2 Total amount of newly received data, loaded from the same field which IRU:GetRecvTransferCount uses.

Description

This command cancels the current data-receive transfer and waits for the Transfer State to be Ready before returning. The response includes the amount of data already written to the shared memory by the time the transfer is cancelled. The event returned by GetRecvFinishedEvent will not be signalled when the transfer is cancelled this way.