This function resets the flash device and places it in read mode.
int XFlash_Reset(XFlash *InstancePtr);
The following table lists the
XFlash_Reset function arguments.
|XFlash *||InstancePtr||Pointer to the XFlash instance.|
- XST_SUCCESS if successful.
- XFLASH_BUSY if the flash devices were in the middle of an operation and could not be reset.
XFLASH_ERROR if the device(s) have experienced an internal error during the operation.
XFlash_DeviceControl()must be used to access the cause of the device specific error. condition.