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

#include <usb.h>

Data Fields

USB_DRIVERdriver
 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_DESCRIPTORdescriptor
 Interface descriptor of this interface (Set by USB core).
USB_ENDPOINT_DESCRIPTORendpoints
 All available endpoint descriptors on this interface (Set by USB core).
USB_ALTERNATEalternates
 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.

Detailed Description

USB Interface PUSBInterface = ^TUSBInterface;

Field Documentation

◆ driver

USB_DRIVER* driver

Driver this USB interface is bound to, if any (Set by USB core).

◆ alternatecount

uint32_t alternatecount

The number of alternate settings available for this interface (Set by USB core).

◆ alternatesetting

uint32_t alternatesetting

The currently selected alternate setting for this interface (Set by USB core).

◆ descriptor

Interface descriptor of this interface (Set by USB core).

◆ endpoints

All available endpoint descriptors on this interface (Set by USB core).

◆ alternates

USB_ALTERNATE* alternates

All available alternate settings for this interface (Set by USB core).

◆ description

char description[128]

Null terminated description string (ASCII encoded, English if available) of this interface.

◆ classdata

uint8_t* classdata

Pointer to the start of any class specific descriptors for this interface (Set by USB core).

◆ classsize

uint32_t classsize

Size of any class specific descriptors for this interface (Set by USB core).

◆ driverdata

void* driverdata

Private data for the driver of this USB interface.


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