我在主函数所在的C文件中定义了3个宏变量,但是在中断处理C文件中无法识别
变量
#include "DSP28_Device.h"
#include "DSP28_Globalprototypes.h"
Uint32 intcount;
int increase;
int decrease;
中断处理中变量的调用显示:
"DSP28_DefaultIsr.c", line 5: error: identifier "intcount" is undefined
"DSP28_DefaultIsr.c", line 8: error: identifier "increase" is undefined
"DSP28_DefaultIsr.c", line 8: error: identifier "decrease" is undefined
这是什么原因造成的,希望指点一二,谢谢!