USBLib_CreateCallbackWaiting (SWI &56340) — Creates a callback waiting structure
R0 | callback handler address |
R1 | r12 to use for callback handler |
R0 | Pointer to waiting template |
R1 | Preserved |
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.