XSfl_GetRealAddr - XSfl_GetRealAddr - 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 functions translates the address based on the type of interconnection. In case of stacked, this function asserts the corresponding slave select.

Note: In addition to get the actual address to work on flash this function also selects the CS based on the configuration detected.

Prototype

u32 XSfl_GetRealAddr(XSfl_Interface *SflInstnacePtr, u32 Address);

Parameters

The following table lists the XSfl_GetRealAddr function arguments.

Table 1. XSfl_GetRealAddr Arguments
Type Name Description
XSfl_Interface SflInstancePtr is a pointer to the interface driver component to use.
u32 Address which is to be accessed (for erase, write, or read)

Returns

RealAddr is the translated address - for single it is unchanged; for stacked, the lower flash size is subtracted;