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