am29dl800bt.h

来自「NXP LPC系列AMR7的开发程序源码(LCD」· C头文件 代码 · 共 35 行

H
35
字号
/*
 * AM29DL800BT flash chip.
 *
 * The AM29DL800BT is organized into 22 individual sectors as follows:
 *
 *	 0-13   64Kb sectors	0x00000000-0x000dffff
 *	14-14   16Kb sectors	0x000e0000-0x000e3fff
 *	15-15   32Kb sectors	0x000e4000-0x000ebfff
 *	16-19    8Kb sectors	0x000ec000-0x000e3fff
 *	20-20   32Kb sectors	0x000f4000-0x000fbfff
 *	21-21   16Kb sectors	0x000fc000-0x000fffff
 *
 */

/* Describe the sector layout of the current flash chip */
static struct{
  unsigned int type_num;      /*  Number of sector types */
  struct{
    unsigned int size;        /*  Size of the current sector type */
    unsigned int num;         /*  Number of sector of the current type */
  }type[6];
  unsigned int erasebits[1];  /*  Each bit indicates whether the current
                                  sector has been erase or not */  
}flash_sector_descriptor = {6, 
                            {{1024*64, 14}, 
                             {1024*16,  1}, 
                             {1024*32,  1}, 
                             {1024* 8,  4}, 
                             {1024*32,  1}, 
                             {1024*16,  1}
                            },
                            {0}
                           };

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?