USBLib_CreateAPCSWaiting (SWI &56340) — Creates an APCS waiting structure
R0 | Pointer to APCS style routine to call |
R1 | r0 argument for routine in r0 |
R2 | r1 argument for routine in r1 |
R3 | r2 argument for routine in r2 |
R4 | r3 argument for routine in r3 |
R0 | Pointer to waiting |
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.