Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Data Fields
usb_hub Struct Reference

Data Fields

bool inuse
 
struct usb_device * device
 
struct usb_hub_descriptor descriptor
 
uint8_t descriptor_varData [64]
 
struct usb_port ports [HUB_MAX_PORTS]
 

Detailed Description

This driver's representation of a USB hub.

Field Documentation

struct usb_hub_descriptor usb_hub::descriptor

Descriptor of this hub.

uint8_t usb_hub::descriptor_varData[64]

Reserve space for the variable-length data at the end of the hub descriptor. That is, 'descriptor' may overflow into this field.

struct usb_device* usb_hub::device

Pointer to the USB device of this hub.

bool usb_hub::inuse

TRUE if this hub structure is being used.

struct usb_port usb_hub::ports[HUB_MAX_PORTS]

Array of this hub's ports. Only the first descriptor.bNbrPorts entries will actually be used.


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