| spi Vitis Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XSpi_Stats Struct Reference
Overview

XSpi statistics. More...

## Data Fields
u32 | ModeFaults
| Number of mode fault errors. More...
u32 | XmitUnderruns
| Number of transmit underruns. More...
u32 | RecvOverruns
| Number of receive overruns. More...
u32 | SlaveModeFaults
| Num of selects as slave while disabled. More...
u32 | BytesTransferred
| Number of bytes transferred. More...
u32 | NumInterrupts
| Number of transmit/receive interrupts. More...

## Detailed Description

XSpi statistics.

## Field Documentation

u32 XSpi_Stats::BytesTransferred

Number of bytes transferred.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), XSpi_InterruptHandler(), and XSpi_Transfer().

u32 XSpi_Stats::ModeFaults

Number of mode fault errors.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), and XSpi_InterruptHandler().

u32 XSpi_Stats::NumInterrupts

Number of transmit/receive interrupts.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), and XSpi_InterruptHandler().

u32 XSpi_Stats::RecvOverruns

Number of receive overruns.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), and XSpi_InterruptHandler().

u32 XSpi_Stats::SlaveModeFaults

Num of selects as slave while disabled.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), and XSpi_InterruptHandler().

u32 XSpi_Stats::XmitUnderruns

Number of transmit underruns.

Referenced by XSpi_CfgInitialize(), XSpi_ClearStats(), XSpi_GetStats(), and XSpi_InterruptHandler().