Rechercher une page de manuel
usb_ep_set_wedge
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
usb_ep_set_wedge - sets the halt feature and ignores clear requestsSYNOPSIS
- int usb_ep_set_wedge(struct usb_ep * ep);
ARGUMENTS
ep
- the endpoint being wedged
DESCRIPTION
Use this to stall an endpoint and ignore CLEAR_FEATURE(HALT_ENDPOINT) requests. If the gadget driver clears the halt status, it will automatically unwedge the endpoint.
Returns zero on success, else negative errno.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre