📄 am29lv160db.h
字号:
/*
* AM29LV160DB flash chip.
*
* The AM29LV160DB is organized into 35 individual sectors as follows:
*
* 0-0 16Kb sectors 0x00000000-0x00003fff
* 1-2 8Kb sectors 0x00004000-0x00007fff
* 3-3 32Kb sectors 0x00008000-0x0000ffff
* 4-34 62Kb sectors 0x00010000-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*16, 1},
{1024* 8, 2},
{1024*32, 1},
{1024*64, 31}
},
{0,0}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -