USB_ControllerDeregister (SWI&55385)

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

On Entry

R0Pointer to controller structure
R1Reserved. Must be set to zero.
R2Reserved. Must be set to zero.

On Exit

R0preserved
R1Error code Table A.1, “Error codes used by the USB system”
R2Preserved

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)