usb
Vitis Drivers API Documentation
XUsb Struct Reference

The XUsb driver instance data. More...

Data Fields

XUsb_Config Config
 Configuration structure. More...
 
u32 IsReady
 Device is initialized and ready. More...
 
u32 USBAddress
 The USB address of the device. More...
 
u32 EndPointOffset [XUSB_MAX_ENDPOINTS]
 End point Offsets. More...
 
XUsb_DeviceConfig DeviceConfig
 The following structure holds the configuration for the controller. More...
 
XUsb_IntrHandlerFunc HandlerFunc
 Callbacks and callback references. More...
 

Detailed Description

The XUsb driver instance data.

The user is required to allocate a variable of this type for every USB device in the system. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation

XUsb_IntrHandlerFunc XUsb::HandlerFunc

Callbacks and callback references.

Referenced by XUsb_CfgInitialize(), XUsb_IntrHandler(), and XUsb_IntrSetHandler().

u32 XUsb::USBAddress

The USB address of the device.