NXP MPC574x EE模拟-数据结构
Flash模拟EE的格式
/* Define Block Config type */
typedef struct
{
UINT32 enabledBlock; /* the block bit map in specific space,The bit map
flash block in physical space (block 0 is
corresponding to bit 0; block 1 is corresponding
to bit 1 and so on) */
UINT32 blockStartAddr; /* the block start address */
UINT32 blockSize; /* the block size */
UINT32 blankSpace; /* the address pointer to the blank space */
UINT8 blockSpace; /* the space (low, middle or high) for the block */
UINT32 partSelect; /* Partition number of selected blocks,The bit map
of partition information for this block (partition
0 is corresponding to bit 0; partition 1 is
corresponding to bit 1 and so on) */
}BLOCK_CONFIG;
/* Define Cache Table type */
typedef struct
{
UINT32 startAddress; /* the start address of cache table */
UINT32 size; /* the size of cache table in byte */
}CACHE_TABLE;
/* Define Eepr