USBLib_CreateCallbackWait (SWI &5634B)

USBLib_CreateCallbackWait (SWI &5634B) — Creates a callback waiting structure

On Entry

R0callback handler address
R1r12 to use for callback handler

On Exit

R0Pointer to waiting template
R1Preserved

Use

Creates a waiting structure that can either be used as a waiting template or directly in calls like USBLib_SelectInterface (SWI &5635D) this most be freed using USBLib_FreeWait (SWI &5634D) or resources will be lost to the USB system.

Related SWIs

USBLib_FreeWait (SWI &5634D)

USBLib_CloneWait (SWI &56345)

Related Information

Chapter 6, Waiting