struttura USB_HUB_DESCRIPTOR (usbspec.h)

La struttura USB_HUB_DESCRIPTOR contiene un descrittore hub. I membri di questa struttura sono descritti nella specifica Universal Serial Bus 3.1 disponibile nella raccolta documenti USB. Vedere la sezione 10.15.2.1.

Sintassi

typedef struct _USB_HUB_DESCRIPTOR {
  UCHAR  bDescriptorLength;
  UCHAR  bDescriptorType;
  UCHAR  bNumberOfPorts;
  USHORT wHubCharacteristics;
  UCHAR  bPowerOnToPowerGood;
  UCHAR  bHubControlCurrent;
  UCHAR  bRemoveAndPowerMask[64];
} USB_HUB_DESCRIPTOR, *PUSB_HUB_DESCRIPTOR;

Members

bDescriptorLength

Lunghezza, in byte, del descrittore.

bDescriptorType

Tipo di descrittore. Per i descrittori hub, questo valore deve essere 0x29.

bNumberOfPorts

Numero di porte nell'hub.

wHubCharacteristics

Caratteristiche dell'hub. Per altre informazioni su questo membro, vedere Universal Serial Bus Specification.For more information about this member, see Universal Serial Bus Specification.

bPowerOnToPowerGood

Il tempo, espresso in intervalli di 2 millisecondi, richiede che il dispositivo venga attivato completamente. Per altre informazioni su questo membro, vedere Universal Serial Bus Specification.For more information about this member, see Universal Serial Bus Specification.

bHubControlCurrent

I requisiti correnti massimi, in milliamperes, del componente controller dell'hub.

bRemoveAndPowerMask[64]

Non implementato attualmente. Non utilizzare questo membro.

Questo membro implementa i campi DeviceRemovable e PortPwrCtrlMask del descrittore hub. Per altre informazioni su questi campi, vedere Universal Serial Bus Specification.For more information about these fields, see Universal Serial Bus Specification.

Requisiti

Requisito Valore
Intestazione usbspec.h (include Usbioctl.h)

Vedi anche

Strutture USB

USB_HUB_INFORMATION