XSfl_FlashNonBlockingReadProcess - XSfl_FlashNonBlockingReadProcess - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

This function performs non-blocking read from the serial nor flash connected to specific interface.

Prototype

u32 XSfl_FlashNonBlockingReadProcess(XSfl_Interface *SflInstancePtr, u32 Address, u32 ByteCount, u8 *ReadBfrPtr, u64 RxAddr64bit);

Parameters

The following table lists the XSfl_FlashNonBlockingReadProcess function arguments.

Table 1. XSfl_FlashNonBlockingReadProcess Arguments
Type Name Description
XSfl_Interface Sfl_Handler is a index to the XSfl interface component to use.
u32 Address contains the address of the flash that needs to be read.
u32 ByteCount contains the total size to be erased.
u8 * ReadBfrPtr is the pointer to the read buffer to which valid received data must be written
u64 RxAddr64bit is of the 64-bit address of destination read buffer to which valid received data must be written.

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure