trafgen: XTrafGen_CmdInfo Struct Reference

| trafgen Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XTrafGen_CmdInfo Struct Reference
Trafgen_v4_2

Command Information Structure. More...

## Data Fields
u32 | WrIndex
| Write Region Command Index. More...
u32 | RdIndex
| Read Region Command Index. More...
u8 | WrIndexEnd
| Write Index End. More...
u8 | RdIndexEnd
| Read Index End. More...
int | LastWrValidIndex
| Write Last Valid Command Index. More...
int | LastRdValidIndex
| Read Last Valid Command Index. More...
XTrafGen_CmdEntry | CmdEntry [2][MAX_NUM_ENTRIES]
| Software array of Commands. More...

## Detailed Description

Command Information Structure.

This structure is maintained by the driver

## Field Documentation

XTrafGen_CmdEntry XTrafGen_CmdInfo::CmdEntry[2][MAX_NUM_ENTRIES]

Software array of Commands.

Referenced by XTrafGen_AddCommand(), XTrafGen_EraseAllCommands(), and XTrafGen_PrintCmds().

int XTrafGen_CmdInfo::LastRdValidIndex

Read Last Valid Command Index.

Referenced by XTrafGen_AddCommand(), XTrafGen_CfgInitialize(), XTrafGen_EraseAllCommands(), and XTrafGen_GetLastValidIndex().

int XTrafGen_CmdInfo::LastWrValidIndex

Write Last Valid Command Index.

Referenced by XTrafGen_AddCommand(), XTrafGen_CfgInitialize(), XTrafGen_EraseAllCommands(), and XTrafGen_GetLastValidIndex().

u32 XTrafGen_CmdInfo::RdIndex

Read Region Command Index.

Referenced by XTrafGen_AddCommand(), and XTrafGen_EraseAllCommands().

u8 XTrafGen_CmdInfo::RdIndexEnd

Read Index End.

Referenced by XTrafGen_AddCommand(), and XTrafGen_EraseAllCommands().

u32 XTrafGen_CmdInfo::WrIndex

Write Region Command Index.

Referenced by XTrafGen_AddCommand(), and XTrafGen_EraseAllCommands().

u8 XTrafGen_CmdInfo::WrIndexEnd

Write Index End.

Referenced by XTrafGen_AddCommand(), and XTrafGen_EraseAllCommands().