Reset a USB device
#include <sys/usbdi.h> int usbd_reset_device( struct usbd_device *device );
libusbdi
You use the usbd_reset_device() function to reset the specified device.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |