#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). | |
Definition at line 55 of file virthub.h.
| uint8_t port_power[BITS2BYTES(HUB_PORT_COUNT+1)] |
| uint8_t power_on_warm_up |
1.4.7