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;
| 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 |