USBLib_WaitingResult (SWI &56369)

USBLib_WaitingResult (SWI &56369) — examines the state of a waiting structure

On Entry

R0Pointer to waiting

On Exit

R0Preserved
R1result (only valid if transaction has completed)
R2
0 - Transaction is still ongoing
1 - Transaction has completed

Use

This call is used on a waiting structure returned from a transaction to determine if the transaction has completed or not. Mostly used with USBLib_CreateReturnWait (SWI &56347) to test for completion.

Related SWIs

None

Related Information

Chapter 6, Waiting