hub_descriptor_t Struct Reference
[Virtual USB host controller]

Hub descriptor. More...

#include <virthub.h>


Data Fields

uint16_t characteristics
 Hub characteristics.
uint8_t length
 Size of this descriptor in bytes.
uint8_t max_current
 Maximum current (in mA).
uint8_t port_count
 Number of downstream ports.
uint8_t port_power [BITS2BYTES(HUB_PORT_COUNT+1)]
 Port power control.
uint8_t power_on_warm_up
 Time from power-on to stabilized current.
uint8_t removable_device [BITS2BYTES(HUB_PORT_COUNT+1)]
 Whether device at given port is removable.
uint8_t type
 Descriptor type (USB_DESCTYPE_HUB).


Detailed Description

Hub descriptor.

Definition at line 55 of file virthub.h.


Field Documentation

uint8_t port_power[BITS2BYTES(HUB_PORT_COUNT+1)]

Port power control.

This is USB1.0 compatibility field, all bits must be 1.

Definition at line 75 of file virthub.h.

uint8_t power_on_warm_up

Time from power-on to stabilized current.

Expressed in 2ms unit.

Definition at line 67 of file virthub.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:45:59 2011 for HelenOS/USB by  doxygen 1.4.7