我写了一个读写iic的程序.对寄存器进行操作的时候出错了.
程序头
#define rGPECON (*(volatile unsigned *)0x56000040) //Port E control
#define rGPEDAT (*(volatile unsigned *)0x56000044) //Port E data
#define rGPEUP (*(volatile unsigned *)0x56000048) //Pull-up control E
程序中
save_E = rGPECON;
对rGPECON进行操作就出错.
------解决方案--------------------
save_E 未定义