usb
Vitis Drivers API Documentation
XUsb_DeviceConfig Struct Reference

The XUsb_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode. More...

Data Fields

u8 NumEndpoints
 Number of Endpoints. More...
 
XUsb_EpConfig Ep [XUSB_MAX_ENDPOINTS]
 An array of end points. More...
 
u8 Status
 USB device Status. More...
 
u8 CurrentConfiguration
 
      Current state of enumeration

enumerated (1)/Not enumerated (0) More...

 
u32 CurrentSpeed
 Current Speed. More...
 

Detailed Description

The XUsb_DeviceConfig structure contains the configuration information to configure the USB controller for DEVICE mode.

This data structure is used with the XUsb_ConfigureDevice() function call.

Field Documentation

u8 XUsb_DeviceConfig::CurrentConfiguration

      Current state of enumeration

enumerated (1)/Not enumerated (0)

Referenced by GetConfiguration(), main(), SetConfiguration(), UsbIfIntrHandler(), UsbKbdExample(), and UsbMouseExample().

u32 XUsb_DeviceConfig::CurrentSpeed
u8 XUsb_DeviceConfig::NumEndpoints
u8 XUsb_DeviceConfig::Status