| usbpsu Vitis Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
Usb_DevData Struct Reference
USBPSU APIs

struct Usb_DevData - Application device data Application Data More...

## Data Fields
u8 | Speed
| USB device data speed. More...
u8 | State
| USB device data state. More...
void * | PrivateData
| USB device application data. More...

## Detailed Description

struct Usb_DevData - Application device data Application Data

Parameters

  Speed,: | device speed - full/low/high/super
  State,: | device state
  PrivateData,: | USB device application data

## Field Documentation

void* Usb_DevData::PrivateData

USB device application data.

Referenced by Ch9Handler(), ClassReq(), IsSuperSpeed(), main(), ParseCBW(), prvKeyboardTask(), prvPlayBackTask(), prvRecordTask(), prvSCSITask(), SendCSW(), Usb_Ch9SetupCfgDescReply(), Usb_Ch9SetupStrDescReply(), Usb_ClassReq(), Usb_ClassReq_Keyboard(), Usb_DfuClassReq(), Usb_DfuDisconnect(), Usb_DfuReset(), Usb_DfuSetIntf(), Usb_DisconnectHandler(), Usb_KeyboardClassReq(), Usb_ResetHandler(), Usb_SetConfiguration(), Usb_SetConfigurationApp(), Usb_SetInterfaceHandler(), Usb_SetIntf(), and Usb_StorageClassReq().

u8 Usb_DevData::Speed

USB device data speed.

Referenced by prvKeyboardTask(), prvSCSITask(), Usb_SetConfigurationApp(), XUsbPsu_ConnDoneIntr(), XUsbPsu_DisconnectIntr(), XUsbPsu_IsSuperSpeed(), and XUsbPsu_SetEpConfig().

u8 Usb_DevData::State

USB device data state.

Referenced by Usb_SetConfiguration(), XUsbPsu_ResetIntr(), and XUsbPsu_SetDeviceAddress().