libusb Developers Guide
Prev |  | Next

# usb_resetep

## Name

usb_resetep -- Resets state for an endpoint

## Description

``int usb_resetep`(usb_dev_handle *dev, unsigned int ep);`

`usb_resetep` resets all state (like toggles) for the specified endpoint. The `ep` parameter is the value specified in the descriptor field bEndpointAddress.

Prev | Home | Next
usb_set_altinterface | Up | usb_clear_halt