usb
Xilinx SDK 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

◆ Config

◆ DeviceConfig

XUsb_DeviceConfig XUsb::DeviceConfig

The following structure holds the configuration for the controller.

They are initialized using the XUsb_ConfigureDevice() function call.

Referenced by InitUsbInterface(), ReadTransfer(), SetupControlWriteStatusStage(), XUsb_CfgInitialize(), XUsb_ConfigureDevice(), XUsb_EpDataRecv(), XUsb_EpDataSend(), and XUsb_EpSetHandler().

◆ EndPointOffset

◆ HandlerFunc

XUsb_IntrHandlerFunc XUsb::HandlerFunc

Callbacks and callback references.

Referenced by XUsb_CfgInitialize(), and XUsb_IntrSetHandler().

◆ IsReady

◆ USBAddress

u32 XUsb::USBAddress

The USB address of the device.