| usbpsu Vitis Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XUsbPsu_Event_Devt Struct Reference
USBPSU APIs

struct XUsbPsu_event_devt - Device Events More...

## Data Fields
u32 | Is_DevEvt: 1
| non-endpoint event More...
u32 | Device_Event: 7
| device event More...
u32 | Type: 4
| type of device event More...
u32 | Reserved15_12: 4
| Reserved, not used. More...
u32 | Event_Info: 9
| Information about this event. More...
u32 | Reserved31_25: 7
| Reserved, not used. More...

## Detailed Description

struct XUsbPsu_event_devt - Device Events

Parameters

  Is_DevEvt,: | indicates this is a non-endpoint event
  Device_Event,: | indicates it's a device event. Should read as 0x00
  Type,: | indicates the type of device event. 0 - DisconnEvt 1 - USBRst 2 - ConnectDone 3 - ULStChng 4 - WkUpEvt 5 - Reserved 6 - EOPF 7 - SOF 8 - Reserved 9 - ErrticErr 10 - CmdCmplt 11 - EvntOverflow 12 - VndrDevTstRcved
  Reserved15_12,: | Reserved, not used
  Event_Info,: | Information about this event
  Reserved31_25,: | Reserved, not used

## Field Documentation

u32 XUsbPsu_Event_Devt::Device_Event

device event

u32 XUsbPsu_Event_Devt::Event_Info

Information about this event.

Referenced by XUsbPsu_DeviceEvent().

u32 XUsbPsu_Event_Devt::Is_DevEvt

non-endpoint event

u32 XUsbPsu_Event_Devt::Reserved15_12

Reserved, not used.

u32 XUsbPsu_Event_Devt::Reserved31_25

Reserved, not used.

u32 XUsbPsu_Event_Devt::Type

type of device event

Referenced by XUsbPsu_DeviceEvent().