Belkin F8E211 Guia do Utilizador Página 40

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 107
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 39
usbd
_
configuration
_
descriptor() © 2007, QNX Software Systems GmbH & Co. KG.
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 );
Arguments:
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).
Library:
libusbdi
Description:
The usbd
_
configuration
_
descriptor() function lets you obtain the configuration
descriptor for a specific configuration setting.
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;
Returns:
A pointer to usbd_configuration_descriptor_t on success, or NULL on error.
Classification:
QNX Neutrino, QNX 4
26 Chapter 4 USB Library Reference September 10, 2007
Vista de página 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 106 107

Comentários a estes Manuais

Sem comentários