flashdev.h

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

H
15 行
字号
/* flashdev.h:
   Header file for use with 28F640 for 16 bit mode.
*/
#define FLASH_TIMEOUT       1000000
#define FLASHFUNCSIZE       320

/* Manufacturer and device ids... */
#define INTEL28F640     0x150089
#define INTEL28F320     0x140089

#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)
#define NotAligned(ptr)     ((long)ptr & 1)

⌨️ 快捷键说明

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