xilsfl
Vitis Drivers API Documentation
xilsfl.c File Reference

Functions

Prototype(Bus width: Cmd_Addr_Data) selection
u32 XSfl_FlashInit (u8 *SflHandler, XSfl_UserConfig SflUserOptions, u8 ControllerInfo)
 This function initializes controller interface and serial nor flash connected. More...
 
u32 XSfl_FlashReadStart (u8 SflHandler, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit)
 This function reads from the flash connected to the specific interface. More...
 
u32 XSfl_FlashReadDone (u8 SflHandler)
 This function used to check read completion status of serial Flash connected to the Specific interface. More...
 
u32 XSfl_FlashRead (u8 SflHandler, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit)
 This function performs read from the flash. More...
 
u32 XSfl_FlashWrite (u8 SflHandler, u32 Address, u32 ByteCount, u8 *WriteBfrPtr)
 This function writes to the serial nor flash connected to the interface driver. More...
 
u32 XSfl_FlashErase (u8 SflHandler, u32 Address, u32 ByteCount)
 This function erases the serial nor flash connected to the specific interface. More...
 
u32 XSfl_FlashGetInfo (u8 SflHandler, u8 Option, u32 *DataPtr)
 This function used to get details serial Flash connected to the Specific interface. More...