am29lv160dt.h
来自「NXP LPC系列AMR7的开发程序源码(LCD」· C头文件 代码 · 共 31 行
H
31 行
/*
* AM29LV160DT flash chip.
*
* The AM29LV160DT is organized into 35 individual sectors as follows:
*
* 0-30 64Kb sectors 0x00000000-0x001effff
* 31-31 32Kb sectors 0x001f0000-0x001f7fff
* 32-33 8Kb sectors 0x001f8000-0x001fbfff
* 34-34 16Kb sectors 0x001fc000-0x001fffff
*
*/
/* 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[4];
unsigned int erasebits[2]; /* Each bit indicates whether the current
sector has been erase or not */
}flash_sector_descriptor = {4,
{{1024*64, 31},
{1024*32, 1},
{1024* 8, 2},
{1024*16, 1}
},
{0,0}
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?