flashdev.h

来自「umon bootloader source code, support mip」· C头文件 代码 · 共 19 行

H
19
字号
/* flash.h:
*/
#define FLASH_TIMEOUT			1000000
#define FLASHFUNCSIZE			320

/* If this is set to 1, then the 28F640 functions are executed out of RAM. */
#define COPY_640OPS_TO_RAM	0

/* Manufacturer and device ids... */
#define AMD29DL640D		0x0001227e
#define SGS29F040		0x20e2
#define AMD29F040		0x01a4
#define AMD29F010		0x0120
#define AMD29LV040		0x014f

#define Fwrite(to,frm)      (*(ftype *)to = *(ftype *)frm)
#define Is_Equal(p1,p2)     (*(ftype *)p1 == *(ftype *)p2)
#define Is_Not_Equal(p1,p2) (*(ftype *)p1 != *(ftype *)p2)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?