Belkin F8E211 Guía de usuario Pagina 45

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 113 114

Comentarios a estos manuales

Sin comentarios