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.
| 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) |