![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <usb.h>
Data Fields | |
| USB_DRIVER * | driver |
| Driver this USB interface is bound to, if any (Set by USB core). | |
| uint32_t | alternatecount |
| The number of alternate settings available for this interface (Set by USB core). | |
| uint32_t | alternatesetting |
| The currently selected alternate setting for this interface (Set by USB core). | |
| USB_INTERFACE_DESCRIPTOR * | descriptor |
| Interface descriptor of this interface (Set by USB core). | |
| USB_ENDPOINT_DESCRIPTOR * | endpoints |
| All available endpoint descriptors on this interface (Set by USB core). | |
| USB_ALTERNATE * | alternates |
| All available alternate settings for this interface (Set by USB core). | |
| char | description [128] |
| Null terminated description string (ASCII encoded, English if available) of this interface. | |
| uint8_t * | classdata |
| Pointer to the start of any class specific descriptors for this interface (Set by USB core). | |
| uint32_t | classsize |
| Size of any class specific descriptors for this interface (Set by USB core). | |
| void * | driverdata |
| Private data for the driver of this USB interface. | |
USB Interface PUSBInterface = ^TUSBInterface;
| USB_DRIVER* driver |
Driver this USB interface is bound to, if any (Set by USB core).
| uint32_t alternatecount |
The number of alternate settings available for this interface (Set by USB core).
| uint32_t alternatesetting |
The currently selected alternate setting for this interface (Set by USB core).
| USB_INTERFACE_DESCRIPTOR* descriptor |
Interface descriptor of this interface (Set by USB core).
| USB_ENDPOINT_DESCRIPTOR* endpoints |
All available endpoint descriptors on this interface (Set by USB core).
| USB_ALTERNATE* alternates |
All available alternate settings for this interface (Set by USB core).
| char description[128] |
Null terminated description string (ASCII encoded, English if available) of this interface.
| uint8_t* classdata |
Pointer to the start of any class specific descriptors for this interface (Set by USB core).
| uint32_t classsize |
Size of any class specific descriptors for this interface (Set by USB core).
| void* driverdata |
Private data for the driver of this USB interface.