xilsfl
Vitis Drivers API Documentation
xilsfl_control.c File Reference

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_FlashEnterExit4BAddMode (XSfl_Interface *SflInstancePtr, int Enable, u8 ChipSelNum)
 This API enters the flash device into 4 bytes addressing mode. 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_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...
 
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_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...