Select the interface for a USB device
#include <sys/usbdi.h> int usbd_select_interface( struct usbd_device *device, uint8_t ifc, uint8_t alt );
libusbdi
You use the usbd_select_interface() function to select the interface for a USB device.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |