| trafgen Vitis Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XTrafGen_Config Struct Reference
Overview

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

## Data Fields
u16 | DeviceId
| Device Id. More...
UINTPTR | BaseAddress
| Base Address. More...
u32 | BusType
| Atgmode. More...
u32 | Mode
| Atgmode_l2. More...
u32 | ModeType
| Axismode. More...
u32 | AddressWidth
| AddressWidth. 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().

UINTPTR XTrafGen_Config::BaseAddress

Base Address.

Referenced by XTrafGen_AccessMasterRam(), XTrafGen_CfgInitialize(), XTrafGenInterruptExample(), XTrafGenPollingExample(), XTrafGenStaticModeExample(), and XTrafGenStremingModeMasterExample().

u32 XTrafGen_Config::BusType

Atgmode.

Referenced by XTrafGen_CfgInitialize().

u16 XTrafGen_Config::DeviceId

Device Id.

Referenced by XTrafGen_CfgInitialize().

u32 XTrafGen_Config::Mode

Atgmode_l2.

Referenced by XTrafGen_CfgInitialize().

u32 XTrafGen_Config::ModeType

Axismode.

Referenced by XTrafGen_CfgInitialize().