USBLib_DecodeAddress (SWI &56340)
Prev | 3.5. Transaction SWIs | Next

## Name

USBLib_DecodeAddress (SWI &56340) — Decodes a packed device address

## On Entry

R0 | Device address

## On Exit

R0 | Preserved
R1 | device's bus address (currently 0..127)
R2 | Pipe type 0 => output (host->device) 1 => input (device->host) 2 => bi-directional

## Use

## Related SWIs

## Related Information

Prev | Up | Next
USBLib_SelectInterface (SWI &56340) | Home | USBLib_EndpointInfo (SWI &56340)