Belkin F8E211 Podręcznik Użytkownika Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 114
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
usbd hub descriptor() 2006, 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 );
Description:
The usbd hub descriptor() function lets you obtain a hub descriptor.
device An opaque handle used to identify the USB device.
node Indicates the descriptor’s location for rooting future
requests.
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
60 Chapter 4 USB Library Reference November 2, 2006
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 113 114

Komentarze do niniejszej Instrukcji

Brak uwag