Abort all requests on a pipe
#include <sys/usbdi.h> int usbd_abort_pipe( struct usbd_pipe *pipe );
libusbdi
The usbd_abort_pipe() function aborts all requests on the specified pipe. You can use this function 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()