⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 am29dl800bt.h

📁 LPC22xx代码示例
💻 H
字号:
/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -