XSfl_FlashGetInfo - XSfl_FlashGetInfo - 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 used to get details serial Flash connected to the Specific interface.

Prototype

u32 XSfl_FlashGetInfo(u8 SflHandler, u8 Option, u32 *DataPtr);

Parameters

The following table lists the XSfl_FlashGetInfo function arguments.

Table 1. XSfl_FlashGetInfo Arguments
Type Name Description
u8 SflHandler is a pointer to the Sfl interface driver component to use.
u8 Option is to get specific details of the flash.
u32 * DataPtr is the pointer to the flash info to be copied.

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure