XSfl_FlashCmdTransfer - XSfl_FlashCmdTransfer - 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 can be used to transfer the command to the flash.

Note: This API can only be used for one flash at a time.

Prototype

u32 XSfl_FlashCmdTransfer(XSfl_Interface *SflInstnacePtr, u8 Cmd);

Parameters

The following table lists the XSfl_FlashCmdTransfer function arguments.

Table 1. XSfl_FlashCmdTransfer Arguments
Type Name Description
XSfl_Interface SflInstancePtr is a pointer to the interface driver component to use.
u8 Cmd is the command to be transfered to the flash.

Returns

  • XST_SUCCESS if successful
  • XST_FAILURE - In case of failure