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