usb_reset_endpoint
Prev | Chapter 5. USB Core APIs | Next

## Name

usb_reset_endpoint — Reset an endpoint's state.

## Synopsis

`void usb_reset_endpoint (` | struct usb_device * dev,
| unsigned int epaddr`)`;

## Arguments

`dev`

  the device whose endpoint is to be reset

`epaddr`

  the endpoint's address. Endpoint number for output, endpoint number + USB_DIR_IN for input

## Description

Resets any host-side endpoint state such as the toggle bit, sequence number or current window.

Prev | Up | Next
usb_clear_halt | Home | usb_set_interface