st_NAND Struct Reference

#include <nand.h>


Detailed Description

NAND flash globals structure.

Note that "Page" and "Sector" are interchangeable.

Definition at line 143 of file nand.h.

Data Fields

unsigned long sysPhySec [_N]
 Physical sector of sysinfo.
unsigned char fmtCtrl
 Flag to indicate a recommended disk format.
unsigned short totalBlkNum
 Total block number.
unsigned short pageSz
 Page size in words.
unsigned short pageRednt
 Redundant words per page.
unsigned short blkSz
 Block length in words.
unsigned short pagePerBlk
 Num of pages per block.
unsigned short dataBlkNum [_N]
 Num of valid data blocks.
unsigned short maxRpBlkNum [_N]
 Max num of replacement blocks.
unsigned short curRpBlkNum
 Current available replace blocks.
unsigned short mapTabPhySecOffset [_N]
 physical sector offset of replacement table
unsigned long pMapTab
 Data block map table.
unsigned long pRpTab
 Replacement block map table.
unsigned long writingSec
 Current writing logical sector.
unsigned long actvSec
 Active logical sector.
unsigned long actvBlkEndSec
 Logical end sector of active logical block.
unsigned long actvPhySec
 Active physical sector.
unsigned long nativeMaxAddr
 The native max address.
unsigned short actvBlk
 Active logical block.
unsigned short actvRpPhyBlk
 Active replaced physical block.
unsigned short actvPhyBlk
 Active physical block.
unsigned short actvSecOffset
 Sector offset in active physical block.
unsigned short actvChip
 Active chip index.
unsigned short flag
 Nand chip flags.


Generated on Wed Jan 19 01:13:37 2005 for neuros-firmware by  doxygen 1.3.9.1