Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 8
Get the interface descriptor for a specific interface setting
#include <sys/usbdi.h>
usbd_interface_descriptor_t
*usbd_interface_descriptor(
struct usbd_device *device,
_uint8 cfg,
_uint8 ifc,
_uint8 alt,
struct usbd_desc_node **node );
- device
- An opaque handle used to identify the USB device.
- cfg
- The device's configuration identifier (bConfigurationValue).
- ifc
- Interface identifier (bInterfaceNumber).
- alt
- Alternate identifier (bAlternateSetting).
- node
- Indicates the descriptor's location for rooting future requests (e.g. endpoints of this interface).
libusbdi
The usbd_interface_descriptor() function lets you obtain
the interface descriptor for a specific interface setting.
The usbd_interface_descriptor_t structure looks like this:
typedef struct usbd_interface_descriptor {
_uint8 bLength;
_uint8 bDescriptorType;
_uint8 bInterfaceNumber;
_uint8 bAlternateSetting;
_uint8 bNumEndpoints;
_uint8 bInterfaceClass;
_uint8 bInterfaceSubClass;
_uint8 bInterfaceProtocol;
_uint8 iInterface;
} usbd_interface_descriptor_t;
A pointer to usbd_interface_descriptor_t on
success, or NULL on error.
QNX Neutrino, QNX 4
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
usbd_args_lookup(),
usbd_configuration_descriptor(),
usbd_device_lookup(),
usbd_device_extra(),
usbd_device_descriptor(),
usbd_endpoint_descriptor(),
usbd_hcd_info(),
usbd_hub_descriptor(),
usbd_languages_descriptor(),
usbd_parse_descriptors(),
usbd_string(),
usbd_urb_status()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 158
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_interface_descriptor.html on line 158