Belkin F8E211 Guia do Utilizador Página 45

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 113 114

Comentários a estes Manuais

Sem comentários