usb_ep_clear_halt(9)

NAME

usb_ep_clear_halt - clears endpoint halt, and resets toggle

SYNOPSIS

int usb_ep_clear_halt(struct usb_ep * ep);

ARGUMENTS

ep
the bulk or interrupt endpoint being reset

DESCRIPTION

Use this when responding to the standard usb "set interface" request,
for endpoints that arenīt reconfigured, after clearing any other state in the endpointīs i/o queue.

Returns zero, or a negative error code. On success, this call clears
the underlying hardware state reflecting endpoint halt and data toggle. Note that some hardware canīt support this request (like pxa2xx_udc),
and accordingly canīt correctly implement interface altsettings.

AUTHOR

David Brownell <dbrownell@users.sourceforge.net>
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout