1USB_EP_CLEAR_HALT(9)        Kernel Mode Gadget API        USB_EP_CLEAR_HALT(9)
2
3
4

NAME

6       usb_ep_clear_halt - clears endpoint halt, and resets toggle
7

SYNOPSIS

9       int usb_ep_clear_halt(struct usb_ep * ep);
10

ARGUMENTS

12       ep
13           the bulk or interrupt endpoint being reset
14

DESCRIPTION

16       Use this when responding to the standard usb “set interface” request,
17       for endpoints that aren´t reconfigured, after clearing any other state
18       in the endpoint´s i/o queue.
19
20       Returns zero, or a negative error code. On success, this call clears
21       the underlying hardware state reflecting endpoint halt and data toggle.
22       Note that some hardware can´t support this request (like pxa2xx_udc),
23       and accordingly can´t correctly implement interface altsettings.
24

AUTHOR

26       David Brownell <dbrownell@users.sourceforge.net>
27           Author.
28
30Kernel Hackers Manual 2.6.         June 2019              USB_EP_CLEAR_HALT(9)
Impressum