XilFlash Library API - 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 section provides a linked summary and detailed descriptions of the XilFlash library APIs.

Table 1. Quick Function Reference
Type Name Arguments
int XFlash_Initialize
  • XFlash * InstancePtr
  • u32 BaseAddress
  • u8 BusWidth
  • int IsPlatformFlash
int XFlash_Reset
  • XFlash * InstancePtr
int XFlash_DeviceControl
  • XFlash * InstancePtr
  • u32 Command
  • DeviceCtrlParam * Parameters
int XFlash_Read
  • XFlash * InstancePtr
  • u32 Offset
  • u32 Bytes
  • void * DestPtr
int XFlash_Write
  • XFlash * InstancePtr
  • u32 Offset
  • u32 Bytes
  • void * SrcPtr
int XFlash_Erase
  • XFlash * InstancePtr
  • u32 Offset
  • u32 Bytes
int XFlash_Lock
  • XFlash * InstancePtr
  • u32 Offset
  • u32 Bytes
int XFlash_Unlock
  • XFlash * InstancePtr
  • u32 Offset
  • u32 Bytes
int XFlash_IsReady
  • XFlash * InstancePtr