USB_ControllerDeregister (SWI&55385)
Prev | Chapter 2. Core SWI Calls | Next

## Name

USB_ControllerDeregister (SWI&55385) — De register a host controller

## On Entry

R0 | Pointer to controller structure
R1 | Reserved. Must be set to zero.
R2 | Reserved. Must be set to zero.

## On Exit

R0 | preserved
R1 | Error code Table A.1
R2 | Preserved

## Use

The reference to the controller structure is deregistered automatically in every case.

Removes a controller structure from the USB Module. All endpoints are also removed. All devices at this USB are also removed and service calls are generated. If no references using this host controller are active the host controller structure will be removed physically from memory.

This call is normally used only internally by the USB host controller driver if it ends.

## Related SWI's

USB_ControllerRegister (SWI&55384)

Prev | Up | Next
USB_ControllerRegister (SWI&55384) | Home | USB_ReferenceDeregister (SWI&55386)