spi
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
XSpi_Config Struct Reference

This typedef contains configuration information for the device. More...

#include <xspi.h>

Data Fields

char * Name
 Name of the device. More...
 
UINTPTR BaseAddress
 Base address of the device. More...
 
int HasFifos
 Does device have FIFOs? More...
 
u32 SlaveOnly
 Is the device slave only? More...
 
u8 NumSlaveBits
 Num of slave select bits on the device. More...
 
u8 DataWidth
 Data transfer Width. More...
 
u8 SpiMode
 Standard/Dual/Quad mode. More...
 
u8 AxiInterface
 AXI-Lite/AXI Full Interface. More...
 
u32 AxiFullBaseAddress
 AXI Full Interface Base address of the device. More...
 
u8 XipMode
 0 if Non-XIP, 1 if XIP Mode More...
 
u8 Use_Startup
 1 if Startup block is used in h/w More...
 
u16 FifosDepth
 TX and RX FIFO Depth. More...
 
u16 IntrId
 Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. More...
 

Detailed Description

This typedef contains configuration information for the device.

Field Documentation

u32 XSpi_Config::AxiFullBaseAddress

AXI Full Interface Base address of the device.

Referenced by XSpi_CfgInitialize().

u8 XSpi_Config::AxiInterface

AXI-Lite/AXI Full Interface.

UINTPTR XSpi_Config::BaseAddress
u8 XSpi_Config::DataWidth

Data transfer Width.

Referenced by XSpi_CfgInitialize().

u16 XSpi_Config::FifosDepth

TX and RX FIFO Depth.

Referenced by XSpi_CfgInitialize().

int XSpi_Config::HasFifos

Does device have FIFOs?

Referenced by XSpi_CfgInitialize().

u16 XSpi_Config::IntrId

Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags.

Referenced by main(), and SpiIntrExample().

UINTPTR XSpi_Config::IntrParent

Bit[0] Interrupt parent type Bit[64/32:1] Parent base address.

Referenced by main(), and SpiIntrExample().

char* XSpi_Config::Name

Name of the device.

Referenced by XSpi_LookupConfig().

u8 XSpi_Config::NumSlaveBits

Num of slave select bits on the device.

Referenced by XSpi_CfgInitialize().

u32 XSpi_Config::SlaveOnly

Is the device slave only?

Referenced by XSpi_CfgInitialize().

u8 XSpi_Config::SpiMode

Standard/Dual/Quad mode.

Referenced by XSpi_CfgInitialize().

u8 XSpi_Config::Use_Startup

1 if Startup block is used in h/w

Referenced by XSpi_CfgInitialize().

u8 XSpi_Config::XipMode

0 if Non-XIP, 1 if XIP Mode

Referenced by XSpi_CfgInitialize().