USB_PipeHalt (SWI&5538E)
Prev | Chapter 2. Core SWI Calls | Next

## Name

USB_PipeHalt (SWI&5538E) — Halts specified pipe.

## On Entry

R0 | Pointer to pipe 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

Only an active pipe can be halted. The pipe is blocked for further transfers until it is closed or its reactivated. All requests for the given pipe will be aborted. In details this is meaning that all pending transactions are directly getting a result that they have been aborted. Afterwards all running transactions are informed that they are canceled. It is task of the USB host controller driver to decide whether the transactions must be aborted or can be processed to the end. Normally this call will be used by the USB Module if an heavy error occurred at the pipe which can't be repaired. Applications can use this call too but they will normally prefer USB_PipeClear (SWI&5538D) to remove transactions from a pipe.

## Related SWI's

USB_PipeOpen (SWI&5538B)
USB_PipeClose (SWI&5538C)
USB_PipeClear (SWI&5538D)

Prev | Up | Next
USB_PipeClear (SWI&5538D) | Home | USB_RequestStart (SWI&5538F)