This API can be used to read status of the flash status register.
Note: This API can only be used for one flash at a time.
Prototype
u32 XSfl_WaitforStatusDone(XSfl_Interface *SflInstnacePtr);
Parameters
The following table lists the XSfl_WaitforStatusDone function arguments.
| Type | Name | Description |
|---|---|---|
| XSfl_Interface | SflInstancePtr | is a pointer to the interface driver component to use. |
Returns
- XST_SUCCESS if successful
- XST_FAILURE - In case of failure