usb
Vitis Drivers API Documentation
XUsb_Config Struct Reference

The XUsb_Config structure contains configuration information for the USB controller. More...

Data Fields

u16 DeviceId
 Unique ID of device. More...
 
UINTPTR BaseAddress
 Core register base address. More...
 
u8 DmaEnabled
 DMA support Enabled. More...
 
u8 AddrWidth
 DMA Address Width. More...
 

Detailed Description

The XUsb_Config structure contains configuration information for the USB controller.

This structure only contains the basic configuration for the device. The caller also needs to initialize the USB device controller with the XUsb_ConfigureDevice() function call.

Field Documentation

u8 XUsb_Config::AddrWidth

DMA Address Width.

Referenced by XUsb_CfgInitialize(), and XUsb_DmaTransfer().

u16 XUsb_Config::DeviceId

Unique ID of device.

Referenced by XUsb_CfgInitialize().