USBLib_URBInfo (SWI &56360)

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

On Entry

R0Pointer to URB

On Exit

R0Preserved
R1Pointer to URB data
R2total size of URB
R3size currently in use
R4current offset within buffer for tx/rx
R5frame 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 &56361)

Related Information

Chapter 5, Data Buffers