USBLib_WaitingResult (SWI &56340)
Prev | 3.4. Waiting Support SWIs | Next

## Name

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

## On Entry

R0 | Pointer to waiting

## On Exit

R0 | Preserved
R1 | result (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_CreateReturnWaiting (SWI &56340) to test for completion.

## Related SWIs

None

## Related Information

Chapter 7

Prev | Up | Next
USBLib_CreateCallbackWaiting (SWI &56340) | Home | USBLib_CtrlMsg (SWI &56340)