📄 am29lv160dt.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -