| usbps Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
XUsbPs_Config Struct Reference

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

## Data Fields
u16 | DeviceID
| Unique ID of controller. More...
u32 | BaseAddress
| Core register base address. More...

## Detailed Description

The XUsbPs_Config structure contains configuration information for the USB controller.

This structure only contains the basic configuration for the controller. The caller also needs to initialize the controller for the DEVICE mode using the XUsbPs_DeviceConfig data structures with the XUsbPs_ConfigureDevice() function call

## Field Documentation

u32 XUsbPs_Config::BaseAddress

Core register base address.

Referenced by main(), XUsbPs_CfgInitialize(), XUsbPs_ConfigureDevice(), XUsbPs_DeviceReset(), XUsbPs_EpGetSetupData(), XUsbPs_EpPrime(), XUsbPs_IntrHandler(), XUsbPs_Reset(), and XUsbPs_SetDeviceAddress().

u16 XUsbPs_Config::DeviceID

Unique ID of controller.