USBLib_CInit (SWI &56340)
Prev | 3.7. Library SWIs | Next

## Name

USBLib_CInit (SWI &56340) — Initialises a jump table for use with C library

## On Entry

R0 | Registration handle
R1 | Pointer to function table to fill in
R2 | Offset into the jump table to start
R3 | Size (in words) of table pointed to by R0
R4 | Flags
bit 0 - set for user mode capable entry

## On Exit

R0 | preserved
R1 | Filled table
R2,R3,R4 | Preserved

## Use

This call is used to fill a table containing an array of pointers to SWI entry vectors, this allows C programs to directly link with the module without the overhead of SWI calls.

## Related SWIs

USBLib_Register (SWI &56340)

USBLib_Deregister (SWI &56340)

## Related Information

None

Prev | Up | Next
USBLib_Deregister (SWI &56340) | Home | USBLib_Free (SWI &56340)