XFlash_Reset - 2021.2 English

Xilinx Standalone Library Documentation: OS and Libraries Document Collection

Document ID
UG643
Release Date
2021-10-27
Version
2021.2 English

This function resets the flash device and places it in read mode.

Note: None.

Prototype

int XFlash_Reset(XFlash *InstancePtr);

Parameters

The following table lists the XFlash_Reset function arguments.

Table 1. XFlash_Reset Arguments
Type Name Description
XFlash * InstancePtr Pointer to the XFlash instance.

Returns

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