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

The configuration structure for Traffic Generator device. More...

#include <xtrafgen.h>

Data Fields

char * Name
 Name of the device. More...
 
UINTPTR BaseAddress
 Base Address. More...
 
u32 BusType
 Atgmode. More...
 
u32 Mode
 Atgmode_l2. More...
 
u32 ModeType
 Axismode. More...
 
u32 AddressWidth
 AddressWidth. More...
 
u32 IntId [2]
 Interrupt ID on GIC. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. More...
 

Detailed Description

The configuration structure for Traffic Generator device.

This structure passes the hardware building information to the driver

Field Documentation

u32 XTrafGen_Config::AddressWidth

AddressWidth.

Referenced by XTrafGen_CfgInitialize().

u32 XTrafGen_Config::BusType

Atgmode.

Referenced by XTrafGen_CfgInitialize().

u32 XTrafGen_Config::IntId[2]

Interrupt ID on GIC.

Referenced by XTrafGen_CfgInitialize(), and XTrafGenInterruptExample().

UINTPTR XTrafGen_Config::IntrParent

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

Referenced by XTrafGen_CfgInitialize(), and XTrafGenInterruptExample().

u32 XTrafGen_Config::Mode

Atgmode_l2.

Referenced by XTrafGen_CfgInitialize().

u32 XTrafGen_Config::ModeType

Axismode.

Referenced by XTrafGen_CfgInitialize().

char* XTrafGen_Config::Name

Name of the device.

Referenced by XTrafGen_LookupConfig().