Belkin F8E211 Guia do Utilizador Página 64

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 107
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 63
usbd
_
hub
_
descriptor() © 2007, QNX Software Systems GmbH & Co. KG.
Get the hub descriptor for a specific (hub) device
Synopsis:
#include <sys/usbdi.h>
usbd_hub_descriptor_t *usbd_hub_descriptor(
struct usbd_device *device,
struct usbd_desc_node **node );
Arguments:
device An opaque handle used to identify the USB device.
node Indicates the descriptor’s location for rooting future requests.
Library:
libusbdi
Description:
The usbd
_
hub
_
descriptor() function lets you obtain a hub descriptor.
The
usbd_hub_descriptor_t data structure looks like this:
typedef struct usbd_hub_descriptor {
_uint8 bLength;
_uint8 bDescriptorType;
_uint8 bNbrPorts;
_uint16 wHubCharacteristics;
_uint8 bPwrOn2PwrGood;
_uint8 bHubContrCurrent;
_uint8 DeviceRemovable[1];
_uint8 PortPwrCtrlMask[1];
} usbd_hub_descriptor_t;
Returns:
A pointer to usbd_hub_descriptor_t on success, or NULL on error.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
50 Chapter 4 USB Library Reference September 10, 2007
Vista de página 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 106 107

Comentários a estes Manuais

Sem comentários