USBLib_FindDevice (SWI &56340) — Obtains a device and controller reference
R0 | controller name |
R1 | device number |
R0 | controller reference |
R1 | device reference |
This call is used to obtain a reference from a controller name and device number. Its main use is for obtaining references for the USBLib_GetDefaultPipe (SWI &56340) call.
both references will have had their registration count incremented which will require freeing with USBLib_ReferenceDeregister (SWI &56340) when the reference is no longer required.