📄 am29dl800bb.h
字号:
/*
* AM29DL800BB flash chip.
*
* The AM29DL800BB is organized into 22 individual sectors as follows:
*
* 0 - 0 16Kb sectors 0x00000000-0x00003fff
* 1 - 1 32Kb sectors 0x00004000-0x0000bfff
* 2 - 5 8Kb sectors 0x0000c000-0x00013fff
* 6 - 6 32Kb sectors 0x00014000-0x0001bfff
* 7 - 7 16Kb sectors 0x0001c000-0x0001ffff
* 8 -21 64Kb sectors 0x00020000-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*16, 1},
{1024*32, 1},
{1024* 8, 4},
{1024*32, 1},
{1024*16, 1},
{1024*64, 14}
},
{0}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -