This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Abort all requests on a pipe
#include <sys/usbdi.h> int usbd_abort_pipe( struct usbd_pipe *pipe );
The usbd_abort_pipe() function aborts all requests on a pipe. This function can be used during an error condition (e.g. to abort a pending operation) or during normal operation (e.g. to halt an isochronous transfer).
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_open_pipe(), usbd_close_pipe(), usbd_pipe_endpoint(), usbd_reset_pipe()