FreeCntr component can't Enable/Disable Events?

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

FreeCntr component can't Enable/Disable Events?

跳至解决方案
856 次查看
jgirard1
Contributor III

I am working with CodeWarrior 5.1 for S12(X).  My target is 9S12XA256.

I am adding the FreeCntr component and setting it up to be an output compare that interrupts at a specified rate.

There is no way to disable the interrupt event.  The Enable/Disable Event methods are grayed out in Processor Expert and nothing I do will enable them.  I tried connecting it to different timer sources, shared timers, individual PIT timers, etc.  Nothing works.  The Enable/Disable events are always grayed out.

How do I stop this FreeCntr componet from interrupting when I do not need it anymore?  Aside from going directly to the registers myself with my own code, I think there is something seriously wrong with this component and the way it was implemented.

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
707 次查看
jgirard1
Contributor III

The events in the Events tab have to be enabled first before the Enable/Disable methods will be activated in the Methods tab.

在原帖中查看解决方案

0 项奖励
回复
1 回复
708 次查看
jgirard1
Contributor III

The events in the Events tab have to be enabled first before the Enable/Disable methods will be activated in the Methods tab.

0 项奖励
回复