USBLib_CreateAPCSWaiting (SWI &56340)
Prev | 3.4. Waiting Support SWIs | Next

## Name

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

## On Entry

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

## On Exit

R0 | Pointer 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

Prev | Up | Next
USBLib_CreateWimpMsgWaiting (SWI &56340) | Home | USBLib_CreatePollWaiting (SWI &56340)