Name

USBLib_CreateCallbackWaiting (SWI &56340) — 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 &56340) this most be freed using USBLib_FreeWaiting (SWI &56340) or resources will be lost to the USB system.

Related SWIs

USBLib_FreeWaiting (SWI &56340)

USBLib_CloneWaiting (SWI &56340)

Related Information

Chapter 7