XSfl_FlashInfo - XSfl_FlashInfo - 2025.2 English - UG643

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

Document ID
UG643
Release Date
2025-11-20
Version
2025.2 English

This typedef contains configuration information for the flash device.

Declaration

typedef struct
{
  u32 FlashIndex,
  u32 DeviceSize,
  u32 SectSize,
  u32 SectCount,
  u32 PageSize,
  u32 PageCount,
  u8 ConnectionMode,
  u8 FlashMake
  u8 AddrSize; 
} XSfl_FlashInfo;
Table 1. Structure XSfl_FlashInfo Member Description
Member Description
FlashIndex

Index in the flash_info structure

DeviceSize

Size of one flash device or combination of both devices, in case of stocked/parallel connection.

SectSize

Individual sector size or combined sector size in case of parallel config

SectCount

Individual sector count or combined sector count in case of stocked config

PageSize

Individual page size or combined page size in case of parallel config

PageCount

Individual page count or combined page count in case of stocked config

ConnectionMode

Type of connection (single/stacked/parallel)

FlashMake

vendor info

AddrSize; Size of address in bytes