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.
- device
- An opaque handle used to identify the USB device.
- cfg
- The device's configuration identifier (bConfigurationValue).
- EOK
- Success.
- ENOMEM
- No memory for URB.
- ENODEV
- Device was removed.
QNX 6, QNX 4
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
usbd_select_interface()