
usbd select config() 2006, QNX Software Systems GmbH & Co. KG.
Select the configuration for a USB device
Synopsis:
#include <sys/usbdi.h>
int usbd
select config( struct usbd device *device,
uint8 cfg );
Description:
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).
Returns:
EOK Success.
ENOMEM No memory for URB.
ENODEV Device was removed.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes
78 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales