⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flash16.h

📁 umon bootloader source code, support mips cpu.
💻 H
字号:
#define	ftype			    volatile unsigned short
#define Write_aa_to_555()  (*(ftype *)(fdev->base+(0x555<<1)) = 0xaaaa)
#define Write_55_to_2aa()  (*(ftype *)(fdev->base+(0x2aa<<1)) = 0x5555)
#define Write_80_to_555()  (*(ftype *)(fdev->base+(0x555<<1)) = 0x8080)
#define Write_a0_to_555()  (*(ftype *)(fdev->base+(0x555<<1)) = 0xa0a0)
#define Write_f0_to_555()  (*(ftype *)(fdev->base+(0x555<<1)) = 0xf0f0)
#define Write_90_to_555()  (*(ftype *)(fdev->base+(0x555<<1)) = 0x9090)
#define Write_30_to_(add)   (*(ftype *)add = 0x3030)
#define Read_0000()		    (*(ftype *)(fdev->base+(0x0000<<1)))
#define Read_0001()		    (*(ftype *)(fdev->base+(0x0001<<1)))
#define Read_5555()		    (*(ftype *)(fdev->base+(0x5555<<1)))
#define Is_ff(add)		    (*(ftype *)add == 0xffff)
#define Is_not_ff(add)	    (*(ftype *)add != 0xffff)
#define D5_Timeout(add)	    ((*(ftype *)add & 0xdfdf) == 0x2020)

⌨️ 快捷键说明

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