Select the configuration for a USB device
#include <sys/usbdi.h>
int usbd_select_config( struct usbd_device *device,
_uint8 cfg );
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 |