xilisf_v5_14
Xilinx SDK Drivers API Documentation
xilisf.h File Reference

Functions

int XIsf_Initialize (XIsf *InstancePtr, XIsf_Iface *SpiInstPtr, u8 SlaveSelect, u8 *WritePtr)
 This API when called initializes the SPI interface with default settings. More...
 
int XIsf_GetStatus (XIsf *InstancePtr, u8 *ReadPtr)
 This API reads the Serial Flash Status Register. More...
 
int XIsf_GetStatusReg2 (XIsf *InstancePtr, u8 *ReadPtr)
 This API reads the Serial Flash Status Register 2. More...
 
int XIsf_GetDeviceInfo (XIsf *InstancePtr, u8 *ReadPtr)
 This API reads the Joint Electron Device Engineering Council (JEDEC) information of the Serial Flash. More...
 
u32 GetRealAddr (XIsf_Iface *QspiPtr, u32 Address)
 Function to get the real address of flash in case dual parallel and stacked configuration. More...
 
int XIsf_Write (XIsf *InstancePtr, XIsf_WriteOperation Operation, void *OpParamPtr)
 This API writes the data to the Serial Flash. More...
 
int XIsf_Read (XIsf *InstancePtr, XIsf_ReadOperation Operation, void *OpParamPtr)
 This API reads the data from the Serial Flash. More...
 
int XIsf_Erase (XIsf *InstancePtr, XIsf_EraseOperation Operation, u32 Address)
 This API erases the contents of the specified memory in the Serial Flash. More...
 
int XIsf_SectorProtect (XIsf *InstancePtr, XIsf_SpOperation Operation, u8 *BufferPtr)
 This API is used for performing Sector Protect related operations. More...
 
int XIsf_Ioctl (XIsf *InstancePtr, XIsf_IoctlOperation Operation)
 This API configures and controls the Intel, STM, Winbond and Spansion Serial Flash. More...
 
int XIsf_WriteEnable (XIsf *InstancePtr, u8 WriteEnable)
 This API Enables/Disables writes to the Intel, STM, Winbond and Spansion Serial Flash. More...
 
void XIsf_RegisterInterface (XIsf *InstancePtr)
 This API registers the interface SPI/SPI PS/QSPI PS. More...
 
int XIsf_SetSpiConfiguration (XIsf *InstancePtr, XIsf_Iface *SpiInstPtr, u32 Options, u8 PreScaler)
 This API sets the configuration of SPI. More...
 
void XIsf_SetStatusHandler (XIsf *InstancePtr, XIsf_Iface *XIfaceInstancePtr, XIsf_StatusHandler XilIsf_Handler)
 This API is to set the Status Handler when an interrupt is registered. More...
 
void XIsf_IfaceHandler (void *CallBackRef, u32 StatusEvent, unsigned int ByteCount)
 This API is the handler which performs processing for the QSPI driver. More...