Name

USBLib_CreateAPCSWaiting (SWI &56340) — Creates an APCS waiting structure

On Entry

R0Pointer to APCS style routine to call
R1r0 argument for routine in r0
R2r1 argument for routine in r1
R3r2 argument for routine in r2
R4r3 argument for routine in r3

On Exit

R0Pointer to waiting

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