USBLib_WaitingInfo (SWI &56368)

USBLib_WaitingInfo (SWI &56368) — Gets the information about a waiting structure

On Entry

R0waiting handle

On Exit

R0waiting type
R1value of result
R2 - R6 dependent on waiting type
WAITING_TYPE_LOOP: no extra registers
WAITING_TYPE_RETURN: no extra registers
WAITING_TYPE_MESSAGE: r2 = pointer to the wimp message block r3 = destination task handle r4 = destination icon handle
WAITING_TYPE_POLL: r2 = poll word value; r3 = address of poll word value;
WAITING_TYPE_SWI: r2 = SWI number r3 = address of register block for r0..r9
WAITING_TYPE_APCS: r2 = address of routine r3 = pointer to arguments for r0..r3
WAITING_TYPE_CALLBACK: r2 = address of callback handler r3 = r12 to pass to r2
WAITING_TYPE_POLLWORD: r2 = address of pollword r3 = or value r4 = and value

Use

Related SWIs

USBLib_CreateLoopWait (SWI &56346)

USBLib_CreateReturnWait (SWI &56347)

USBLib_CreateWimpWait (SWI &56348)

USBLib_CreateAPCSWait (SWI &5634A)

USBLib_CreatePollWordWait (SWI &5634C)

USBLib_CreateSWIWait (SWI &56349)

USBLib_CreateCallbackWait (SWI &5634B)

Related Information

Chapter 6, Waiting