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

#include <usb.h>

Data Fields

USB_HUBhub
 Pointer to the USB hub this port is attached to.
uint8_t number
 Number of this port (1-based).
USB_DEVICEchild
 Pointer to the USB device attached to this port, or nil if there is none.
USB_PORT_STATUS status
 Status of this port.

Field Documentation

◆ hub

USB_HUB* hub

Pointer to the USB hub this port is attached to.

◆ number

uint8_t number

Number of this port (1-based).

◆ child

USB_DEVICE* child

Pointer to the USB device attached to this port, or nil if there is none.

◆ status

Status of this port.


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