Data Fields
usb_hub_descriptor_basic Struct Reference

A basic USB hub descriptor. More...

#include <usbhub.h>

Data Fields

struct usb_descriptor_header header
 Descriptor header. More...
uint8_t ports
 Number of ports. More...
uint16_t characteristics
 Characteristics. More...
uint8_t delay
 Power-on delay (in 2ms intervals. More...
uint8_t current
 Controller current (in mA) More...

Detailed Description

A basic USB hub descriptor.

Definition at line 20 of file usbhub.h.

Field Documentation

◆ header

struct usb_descriptor_header usb_hub_descriptor_basic::header

Descriptor header.

Definition at line 22 of file usbhub.h.

◆ ports

uint8_t usb_hub_descriptor_basic::ports

Number of ports.

Definition at line 24 of file usbhub.h.

Referenced by hub_probe().

◆ characteristics

uint16_t usb_hub_descriptor_basic::characteristics


Definition at line 26 of file usbhub.h.

◆ delay

uint8_t usb_hub_descriptor_basic::delay

Power-on delay (in 2ms intervals.

Definition at line 28 of file usbhub.h.

◆ current

uint8_t usb_hub_descriptor_basic::current

Controller current (in mA)

Definition at line 30 of file usbhub.h.

The documentation for this struct was generated from the following file: