#include <uffs_public.h>
Data Fields | |
u8 | blockStatus |
block status, this byte is loaded from flash, but not to be wrote to flash directly | |
u8 | blockTimeStamp:2 |
time stamp of block; | |
u8 | checkSum |
checksum of above, or ecc... | |
u16 | dataLength |
length of page data length | |
u16 | dataSum |
sum of file name or directory name, or ... | |
u8 | dirty:1 |
0: dirty, 1: clear | |
u16 | father |
father's serial number | |
u8 | pageID |
page id | |
u16 | serial |
serial number | |
u8 | type:4 |
block type: UFFS_TYPE_DIR, UFFS_TYPE_FILE, UFFS_TYPE_DATA or UFFS_TYPE_RESV | |
u8 | valid:1 |
0: valid, 1: invalid |
Definition at line 25 of file uffs_public.h.
block status, this byte is loaded from flash, but not to be wrote to flash directly
Definition at line 38 of file uffs_public.h.
Referenced by Samsung_IsBlockBad(), and Samsung_LoadPageSpare().
time stamp of block;
Definition at line 29 of file uffs_public.h.
Referenced by uffs_GetBlockTimeStamp(), and uffs_RecoverBadBlock().
checksum of above, or ecc...
Definition at line 37 of file uffs_public.h.
Referenced by uffs_CheckPageSpare(), uffs_IsPageErased(), and uffs_WriteDataToNewPage().
length of page data length
Definition at line 35 of file uffs_public.h.
Referenced by uffs_BufGetEx(), uffs_CreateNewFile(), uffs_GetBlockFileDataLength(), uffs_IsDataBlockReguFull(), and uffs_RecoverBadBlock().
sum of file name or directory name, or ...
Definition at line 36 of file uffs_public.h.
Referenced by uffs_CompareFileNameWithTreeNode(), and uffs_CreateNewFile().
0: dirty, 1: clear
Definition at line 26 of file uffs_public.h.
Referenced by uffs_FindBestPageInBlock(), uffs_IsBlockPagesFullUsed(), uffs_IsPageErased(), uffs_IsThisBlockUsed(), and uffs_WriteDataToNewPage().
father's serial number
Definition at line 32 of file uffs_public.h.
Referenced by uffs_CreateNewFile(), uffs_FindBestPageInBlock(), and uffs_RecoverBadBlock().
page id
Definition at line 31 of file uffs_public.h.
Referenced by uffs_FindBestPageInBlock(), uffs_FindPageInBlockWithPageId(), uffs_GetBlockFileDataLength(), uffs_IsDataBlockReguFull(), and uffs_RecoverBadBlock().
serial number
Definition at line 33 of file uffs_public.h.
Referenced by uffs_CreateNewFile(), uffs_FindBestPageInBlock(), and uffs_RecoverBadBlock().
block type: UFFS_TYPE_DIR, UFFS_TYPE_FILE, UFFS_TYPE_DATA or UFFS_TYPE_RESV
Definition at line 28 of file uffs_public.h.
Referenced by uffs_GetBlockFileDataLength(), and uffs_RecoverBadBlock().
0: valid, 1: invalid
Definition at line 27 of file uffs_public.h.
Referenced by uffs_FindBestPageInBlock(), uffs_IsPageErased(), and uffs_WriteDataToNewPage().