USBLib_URBInfo (SWI &56340) — Gets parameters from a URB
R0 | Pointer to URB |
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 |
This call obtains the five useful control fields from a URB removing the need for drivers to directly access the URB structure.