:#define DM_ADD (*((volatile unsigned short *) 0x30000000)) //地址#define DM_CMD (*((volatile unsigned short *) 0x30000004)) //数据
改为:#define DM_ADD (*((volatile unsigned short *) 0x30000300)) //地址#define DM_CMD (*((volatile unsigned short *) 0x30000304)) //数据
试试吧
|
|