trafgen: xtrafgen.c File Reference

| trafgen Xilinx SDK Drivers API Documentation

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

Macros | Functions
xtrafgen.c File Reference

## Macros
#define | XTrafGen_GetCmdInfo(InstancePtr) (&((InstancePtr)->CmdInfo))
| Get Command Info pointer. More...

## Functions
int | XTrafGen_CfgInitialize (XTrafGen *InstancePtr, XTrafGen_Config *Config, UINTPTR EffectiveAddress)
| This function initializes a AXI Traffic Generator device. More...
int | XTrafGen_AddCommand (XTrafGen *InstancePtr, XTrafGen_Cmd *CmdPtr)
| Add a command to the software list of commands. More...
int | XTrafGen_GetLastValidIndex (XTrafGen *InstancePtr, u32 RdWrFlag)
| Get last Valid Command Index of Write/Read region. More...
int | XTrafGen_WriteCmdsToHw (XTrafGen *InstancePtr)
| Write Commands to internal Command and Parameter RAMs. More...
int | XTrafGen_EraseAllCommands (XTrafGen *InstancePtr)
| Erase all Command Entry values. More...
void | XTrafGen_AccessMasterRam (XTrafGen *InstancePtr, u32 Offset, int Length, u8 RdWrFlag, u32 *Data)
| Write or Read Master RAM. More...
void | XTrafGen_PrintCmds (XTrafGen *InstancePtr)
| Display Command Entry values. More...