trafgen: XTrafGen Struct Reference

| trafgen Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XTrafGen Struct Reference
Trafgen_v4_2

The XTrafGen driver instance data. More...

## Data Fields
XTrafGen_Config | Config
| Config Structure. More...
u8 | OperatingMode
| Operating mode. More...
u8 | MasterWidth
| Master Width. More...
u8 | SlaveWidth
| Slave Width. More...
XTrafGen_CmdInfo | CmdInfo
| Command Info structure. More...

## Detailed Description

The XTrafGen driver instance data.

An instance must be allocated for each Traffic Generator device in use.

## Field Documentation

XTrafGen_CmdInfo XTrafGen::CmdInfo

Command Info structure.

Referenced by XTrafGen_CfgInitialize().

XTrafGen_Config XTrafGen::Config

Config Structure.

Referenced by XTrafGen_AccessMasterRam(), and XTrafGen_CfgInitialize().

u8 XTrafGen::MasterWidth

Master Width.

Referenced by XTrafGen_CfgInitialize().

u8 XTrafGen::OperatingMode

Operating mode.

Referenced by XTrafGen_CfgInitialize(), XTrafGenStaticModeExample(), and XTrafGenStremingModeMasterExample().

u8 XTrafGen::SlaveWidth

Slave Width.

Referenced by XTrafGen_CfgInitialize().