Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_USB_HUB Struct Reference

#include <usb.h>

Data Fields

DEVICE device
 The Device entry for this Hub.
uint32_t hubid
 Unique Id of this Hub in the Hub table.
uint32_t hubstate
 Hub state (eg USBHUB_STATE_ATTACHED).
MUTEX_HANDLE lock
 Hub lock.
USB_HUB_DESCRIPTORdescriptor
 Class specific Descriptor for this hub.
USB_PORTports
 Ports on this hub (Set by USBHubCreatePorts using the value in Descriptor.bNbrPorts).
uint32_t receivecount
uint32_t receiveerrors
USB_HUB_DATAstatusdata
 Hub status change data buffer.
USB_REQUESTstatusrequest
 Hub status change request.
USB_ENDPOINT_DESCRIPTORstatusendpoint
 Hub Interrupt IN Endpoint.
uint32_t pendingcount
 Number of USB requests pending for this hub.
THREAD_ID waiterthread
 Thread waiting for pending requests to complete (for hub detachment).
USB_HUBprev
 Previous entry in Hub table.
USB_HUBnext
 Next entry in Hub table.

Detailed Description

USB Hub Methods None

Field Documentation

◆ device

DEVICE device

The Device entry for this Hub.

◆ hubid

uint32_t hubid

Unique Id of this Hub in the Hub table.

◆ hubstate

uint32_t hubstate

Hub state (eg USBHUB_STATE_ATTACHED).

◆ lock

Hub lock.

◆ descriptor

USB_HUB_DESCRIPTOR* descriptor

Class specific Descriptor for this hub.

◆ ports

USB_PORT* ports

Ports on this hub (Set by USBHubCreatePorts using the value in Descriptor.bNbrPorts).

◆ receivecount

uint32_t receivecount

◆ receiveerrors

uint32_t receiveerrors

◆ statusdata

USB_HUB_DATA* statusdata

Hub status change data buffer.

◆ statusrequest

USB_REQUEST* statusrequest

Hub status change request.

◆ statusendpoint

USB_ENDPOINT_DESCRIPTOR* statusendpoint

Hub Interrupt IN Endpoint.

◆ pendingcount

uint32_t pendingcount

Number of USB requests pending for this hub.

◆ waiterthread

THREAD_ID waiterthread

Thread waiting for pending requests to complete (for hub detachment).

◆ prev

USB_HUB* prev

Previous entry in Hub table.

◆ next

USB_HUB* next

Next entry in Hub table.


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