XSfl_OspiInit - XSfl_OspiInit - 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
Initializes a specific XOspiPsv instance so that the driver is ready to use.

Prototype

u32 XSfl_OspiInit(XSfl_Interface *Ptr, const XSfl_UserConfig *UserConfig);

Parameters

The following table lists the XSfl_OspiInit function arguments.

Table 1. XSfl_OspiInit Arguments
Type Name Description
u32 Ptr Pointer to the Sfl_Interface instance.
const UserConfig

UserConfig the structure containing information about a specific OSPI device. This function initializes an Instance object for a specific device specified by the contents of UserConfig.

Returns

  • XST_SUCCESS if successful.
  • XST_FAILURE if init fails.