为了智能车-请教以下RTItimer产生的event文件的问题

- UID
- 343978
- 性别
- 男
|
为了智能车-请教以下RTItimer产生的event文件的问题
我用PE产生实时中断,产生一个event文件,文件产生void TI1_OnInterrupt(void)函数,我在此函数的外面定义了一个全局变量a,每次执行TI1_OnInterrupt都会修改a的值,请问下次执行中断服务程序时,引用a的值还是上次的值吗?还是WC重新初始化了?因为是不同文件里的函数,所以有这样的疑问,请高手回答,谢谢!!! |
|
|
|
|
|
 
- UID
- 104631
- 性别
- 男
|
|
|
|
|
|