USBLib_URBInfo (SWI &56340)
Prev | 3.8. URB SWIs | Next

## Name

USBLib_URBInfo (SWI &56340) — Gets parameters from a URB

## On Entry

R0 | Pointer to URB

## On Exit

R0 | Preserved
R1 | Pointer to URB data
R2 | total size of URB
R3 | size currently in use
R4 | current offset within buffer for tx/rx
R5 | frame number for completion

## Use

This call obtains the five useful control fields from a URB removing the need for drivers to directly access the URB structure.

## Related SWIs

USBLib_SetURB (SWI &56340)

## Related Information

Chapter 6

Prev | Up | Next
USBLib_FreeURB (SWI &56340) | Home | USBLib_SetURB (SWI &56340)