xilsfl
Vitis Drivers API Documentation
xilsfl_control.h File Reference

Macros

#define XILSFL_CONTROL_H
 < prevent circular inclusions More...
 

Functions

u32 XSfl_FlashIdRead (XSfl_Interface *SflInstancePtr, u8 ChipSelNum, u8 *SflReadBuffer)
 Reads the flash ID and identifies the flash in FCT table. More...
 
u32 XSfl_CalculateFCTIndex (u32 ReadId, u32 *FCTIndex)
 This function used to Identifies the flash in FCT table. More...
 
u32 XSfl_FlashSetSDRDDRMode (XSfl_Interface *SflInstancePtr, int Mode, u8 *SflReadBuffer)
 This API enters the flash device into Octal DDR mode or exit from octal DDR mode (switches to Extended SPI mode). More...
 
u32 XSfl_FlashEnterExit4BAddMode (XSfl_Interface *SflInstancePtr, int Enable, u8 ChipSelNum)
 This API enters the flash device into 4 bytes addressing mode. More...
 
u32 XSfl_GetRealAddr (XSfl_Interface *SflInstancePtr, u32 Address)
 This functions translates the address based on the type of interconnection. More...
 
u32 XSfl_SectorErase (XSfl_Interface *SflInstancePtr, u32 Address)
 This function used to erase the sectors of the serial nor flash connected to the specific interface. More...
 
u32 XSfl_FlashPageWrite (XSfl_Interface *SflInstancePtr, u32 Address, u32 ByteCount, u8 *WriteBfrPtr)
 This function writes to the serial nor flash connected to the specific interface. More...
 
u32 XSfl_FlashReadProcess (XSfl_Interface *SflInstancePtr, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit)
 This function performs read from the serial nor flash connected to specific interface. More...
 
u32 XSfl_FlashTransferDone (XSfl_Interface *SflInstancePtr)
 This function used to check read completion status the serial Flash connected to the Specific interface. More...
 
u32 XSfl_WaitforStatusDone (XSfl_Interface *SflInstancePtr)
 This API can be used to read status of the flash status register. More...
 
u32 XSfl_FlashRegisterReadWrite (XSfl_Interface *SflInstancePtr, u8 *RxBfrPtr, u8 *TxBfrPtr, u32 *CmdBufferPtr, u8 Addrvalid)
 This API can be used to Read/write to a flash register. More...
 
u32 XSfl_FlashCmdTransfer (XSfl_Interface *SflInstancePtr, u8 Cmd)
 This API can be used to transfer the command to the flash. More...
 
u32 XSfl_FlashNonBlockingReadProcess (XSfl_Interface *SflInstancePtr, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit)
 This function performs non-blocking read from the serial nor flash connected to specific interface. More...