Designer Reference Manual
USB08 Evaluation Board
176
Universal USB Device Driver (USBIO)
MOTOROLA
Universal USB Device Driver (USBIO)
ICOTL_USBIO_RESET_PIPE
The IOCTL_USBIO_RESET_PIPE operation clears an error condition
on a pipe.
lpInBuffer
Not used with this operation. Set to NULL.
nInBufferSize
Not used with this operation. Set to zero.
lpOutBuffer
Not used with this operation. Set to NULL.
nOutBufferSize
Not used with this operation. Set to zero.
Comments
If an error occurs while transferring data from or to a pipe the USBD halts
the pipe and returns an error code. No further transfers can be
performed while the pipe is halted. To recover from this error condition
and to restart the pipe an
IOCTL_USBIO_RESET_PIPE
has to be sent
to the pipe.
This request causes that a CLEAR_FEATURE(ENDPOINT_STALL)
request appears on the bus. In addition, the endpoint handling in the
USB host controller will be reinitialized.
Isochronous pipes will never be halted by the USBD. This is because on
isochronous pipes no handshake is used to detect errors in data
transmission.