Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
usbd_reset_pipe()
Clear a stall condition on an endpoint identified by the pipe handle
Synopsis:
#include <sys/usbdi.h> int usbd_reset_pipe( struct usbd_pipe *pipe );
Arguments:
- pipe
- An opaque handle returned by usbd_open_pipe().
Library:
libusbdi
Description:
You use the usbd_reset_pipe() function to clear a stall condition on an endpoint identified by the pipe handle.
Returns:
- EOK
- Success.
- ENOMEM
- No memory for URB.
- ENODEV
- Device was removed.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
usbd_abort_pipe() usbd_open_pipe(), usbd_close_pipe(), usbd_pipe_endpoint(),
![]() |
![]() |
![]() |
![]() |

![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)