Belkin F8E211 User's Guide Page 45

  • Download
  • Add to my manuals
  • Print
  • Page
    / 114
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 44
2006, QNX Software Systems GmbH & Co. KG.
usbd configuration descriptor()
Get the configuration descriptor for a specific configuration setting
Synopsis:
#include <sys/usbdi.h>
usbd
configuration descriptor t
*usbd
configuration descriptor(
struct usbd
device *device,
uint8 cfg,
struct usbd
desc node **node );
Description:
The usbd configuration descriptor() function lets you obtain the
configuration descriptor for a specific configuration setting.
device An opaque handle used to identify the USB device.
cfg The device’s configuration identifier
(
bConfigurationValue).
node Indicates the descriptor’s location for rooting future
requests (e.g. interfaces of this configuration).
The
usbd configuration descriptor t structure looks like
this:
typedef struct usbd configuration descriptor {
uint8 bLength;
uint8 bDescriptorType;
uint16 wTotalLength;
uint8 bNumInterfaces;
uint8 bConfigurationValue;
uint8 iConfiguration;
uint8 bmAttributes;
uint8 MaxPower;
} usbd
configuration descriptor t;
November 2, 2006 Chapter 4 USB Library Reference 33
Page view 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 113 114

Comments to this Manuals

No comments