usb
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
XUsb_Config Struct Reference

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

#include <xusb.h>

Data Fields

UINTPTR BaseAddress
 Core register base address. More...
 
u8 DmaEnabled
 DMA support Enabled. More...
 
u8 AddrWidth
 DMA Address Width. More...
 
u16 IntrId
 Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. 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::IntrId

Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags.

Referenced by main(), UsbKbdExample(), and UsbMouseExample().

UINTPTR XUsb_Config::IntrParent

Bit[0] Interrupt parent type Bit[64/32:1] Parent base address.

Referenced by main(), UsbKbdExample(), and UsbMouseExample().