qspips
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Groups Pages
Qspips_selftest_example

Functions

int QspiPsSelfTestExample (UINTPTR BaseAddress)
 Runs a selftest on the QSPI device and XQspiPs driver as an example. More...
 
int main (void)
 Runs the Qspi Selftest example. More...
 

Variables

XQspiPs Qspi
 The instance of the QSPI device. More...
 

Function Documentation

int main ( void  )

Runs the Qspi Selftest example.

Returns
XST_SUCCESS if successful, XST_FAILURE if unsuccessful

References QspiPsSelfTestExample().

int QspiPsSelfTestExample ( UINTPTR  BaseAddress)

Runs a selftest on the QSPI device and XQspiPs driver as an example.

The purpose of this function is to illustrate the usage of the XQspiPs driver.

Parameters
[in]BaseAddressThe base address of the device.
Returns
XST_SUCCESS if successful, XST_FAILURE if unsuccessful
Note
In XSCT/classic flow, the device configuration is looked up based on DeviceId.

References XQspiPs_Config::BaseAddress, XQspiPs_CfgInitialize(), XQspiPs_LookupConfig(), and XQspiPs_SelfTest().

Referenced by main().

Variable Documentation

XQspiPs Qspi

The instance of the QSPI device.