XilFlash Library API - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 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