qspips
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Groups Pages
xqspips_options.c File Reference

Overview

Contains functions for the configuration of the XQspiPs driver component.

 MODIFICATION HISTORY:
 Ver   Who Date     Changes


1.00 sdm 11/25/10 First release 2.00a kka 07/25/12 Removed the selection for the following options: Master mode (XQSPIPS_MASTER_OPTION) and Flash interface mode (XQSPIPS_FLASH_MODE_OPTION) option as the QSPI driver supports the Master mode and Flash Interface mode. The driver doesn't support Slave mode or the legacy mode. Added the option for setting the Holdb_dr bit in the configuration options, XQSPIPS_HOLD_B_DRIVE_OPTION is the option to be used for setting this bit in the configuration register. 2.01a sg 02/03/13 SetDelays and GetDelays API's include DelayNss parameter.

 2.02a hk  26/03/13 Removed XQspi_Reset() in Set_Options() function when
                         LQSPI_MODE_OPTION is set. Moved Enable() to XQpsiPs_LqspiRead().
 3.3   sk  11/07/15 Modified the API prototypes according to MISRAC standards
                    to remove compilation warnings. CR# 868893.
 3.16  vn  08/26/26 Fix Doxygen warnings
 3.16  tb  09/30/26 Align Doxygen comments with AMD documentation standards
#include "xqspips.h"

Macros

#define XQSPIPS_NUM_OPTIONS   (sizeof(OptionsTable) / sizeof(OptionsMap))
 Number of entries in the options table. More...
 

Functions

s32 XQspiPs_SetOptions (XQspiPs *InstancePtr, u32 Options)
 Sets the options for the QSPI device driver. More...
 
u32 XQspiPs_GetOptions (XQspiPs *InstancePtr)
 Gets the options for the QSPI device. More...
 
s32 XQspiPs_SetClkPrescaler (XQspiPs *InstancePtr, u8 Prescaler)
 Sets the clock prescaler for an QSPI device. More...
 
u8 XQspiPs_GetClkPrescaler (XQspiPs *InstancePtr)
 Gets the clock prescaler of an QSPI device. More...
 
int XQspiPs_SetDelays (XQspiPs *InstancePtr, u8 DelayNss, u8 DelayBtwn, u8 DelayAfter, u8 DelayInit)
 Sets the delay register for the QSPI device driver. More...
 
void XQspiPs_GetDelays (XQspiPs *InstancePtr, u8 *DelayNss, u8 *DelayBtwn, u8 *DelayAfter, u8 *DelayInit)
 Gets the delay settings for an QSPI device. More...