XSfl_FlashSetSDRDDRMode - XSfl_FlashSetSDRDDRMode - 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 API configures the Flash mode to either SDR or DDR mode.

Prototype

u32 XSfl_FlashSetSDRDDRMode(XSfl_Interface *SflInstnacePtr, int Mode, u8 *SflReadBuffer);

Parameters

The following table lists the XSfl_FlashSetSDRDDRMode function arguments.

Table 1. XSfl_FlashSetSDRDDRMode Arguments
Type Name Description
XSfl_Interface SflInstancePtr is a pointer to the XSfl_Interface driver component to use.
int Mode is either 1 or 0 if 1 then enter octal DDR mode if 0 exits.
u8 SflReadBuffer SflReadBuffer

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure