#include <root_hub.h>
Data Fields | |
usb_address_t | address |
usb address of the root hub | |
size_t | descriptor_size |
size of hub descriptor | |
usb_device_descriptors_t | descriptors |
hubs descriptors | |
uint8_t * | hub_descriptor |
instance`s descriptor | |
uint8_t * | interrupt_buffer |
pre-allocated interrupt mask | |
size_t | interrupt_mask_size |
size of interrupt buffer | |
hw_resource_t | io_regs |
The only resource in the RH resource list. | |
size_t | port_count |
hub port count | |
ohci_regs_t * | registers |
pointer to ohci driver registers | |
hw_resource_list_t | resource_list |
List of resources available to the root hub. | |
usb_transfer_batch_t * | unfinished_interrupt_transfer |
interrupt transfer waiting for an actual interrupt to occur |
Definition at line 46 of file root_hub.h.
uint8_t* interrupt_buffer |
pre-allocated interrupt mask
This is allocated when initializing instance, so that memory allocation is not needed when processing request. Buffer is used for interrupt bitmask.
Definition at line 63 of file root_hub.h.