XIsf_Ioctl - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This API configures and controls the Intel, STM, Winbond and Spansion Serial Flash.

Note:
  • Atmel Serial Flash does not support any of these operations.
  • Intel Serial Flash support Enter/Release from DPD Mode and Clear Status Register Fail Flags.
  • STM, Winbond and Spansion Serial Flash support Enter/Release from DPD Mode.
  • Winbond (W25QXX) Serial Flash support Enable High Performance mode.

Prototype

int XIsf_Ioctl(XIsf *InstancePtr, XIsf_IoctlOperation Operation);

Parameters

The following table lists the XIsf_Ioctl function arguments.

Table 1. XIsf_Ioctl Arguments
Type Name Description
XIsf * InstancePtr Pointer to the XIsf instance.
XIsf_IoctlOperation Operation Type of Control operation to be performed on the Serial Flash. The different control operations are
  • XISF_RELEASE_DPD: Release from Deep Power Down (DPD) Mode
  • XISF_ENTER_DPD: Enter DPD Mode
  • XISF_CLEAR_SR_FAIL_FLAGS: Clear Status Register Fail Flags

Returns

XST_SUCCESS if successful else XST_FAILURE.