在论坛里面下了版主上传的代码:不太明白这几个地方是什么意思?
#define CESECT1 0x200000 //表示什么?
#define CESECT2 0x400000
#define CESECT3 0x600000
//#define LCD_COM (*((unsigned int *)0x400000))
//#define LCD_DAT (*((unsigned int *)0x400002))
#define LCD_COM (*((unsigned int *)0x601000)) //指令寄存器?
#define LCD_DAT (*((unsigned int *)0x601002)) // 数据寄存器?
addr = (int *)CESECT2;
LCDCOM = (int *)CESECT3;
LCDOUT = (int *)CESECT3;
LCDIN = (int *)CESECT2;
|