XFlash_Reset - 2023.2 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

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

Prototype

int XFlash_Reset(XFlash *InstancePtr);

Parameters

The following table lists the XFlash_Reset function arguments.

Table 1. XFlash_Reset Arguments
Type Member 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.