Processor expert does not create code for the Timer Interrupts - Timer compare, overflow, ....

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Processor expert does not create code for the Timer Interrupts - Timer compare, overflow, ....

跳至解决方案
2,014 次查看
Mansukh
Contributor I

I have added "Peripheral initialization Bean for the CPU 56F8346 - Quad Timer Module (TMR)"

And enabled Timer compare Interrupt with ISR name.

Processor expert(PE) updates Interrupt vector table with specified ISR name and gives prototype also.

It does not define the ISR function in the timer module. 

PS gives message that the routine must be implemented in the user code, it is not generated by PE. Only external prototype it provides in the bean module header file.

 

In user code, where do you recommend to create the routine definition? Any reason of not providing support in PE to generate the routine definition/implementation?

 

- Mansukh

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
719 次查看
ProcessorExpert
Senior Contributor III
Hello,

 
generetaion of ISR functions for initialization beans into Events.c (Events.h) is handled  by the "Generate ISR" option from the "Project options" sub-menu (Menu command: Processor Expert / Options / Project options).

 

I think to avoid the problem you have to set "Generate ISR" option to "yes".

 
best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
1 回复
720 次查看
ProcessorExpert
Senior Contributor III
Hello,

 
generetaion of ISR functions for initialization beans into Events.c (Events.h) is handled  by the "Generate ISR" option from the "Project options" sub-menu (Menu command: Processor Expert / Options / Project options).

 

I think to avoid the problem you have to set "Generate ISR" option to "yes".

 
best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复