Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

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

Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

1,552 次查看
kdn
Contributor III

if is different then how can I configure Periodic Interrupt Timer in processor expert for MC9S12XHZ512

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,252 次查看
RadekS
NXP Employee
NXP Employee

Hi,

For periodic interrupts, you can use Periodic Interrupt Timer (PIT), Enhanced Capture Timer (ECT) or Real Time Interrupt (RTI, part of CRG module).

In attachment you can find simple example codes which generate periodic interrupt.

Note: Example code does not use PE.

Note: Example code was designed for S12XD family however behavior should be the same also for S12XHZ.

Note: Result periods will depend on frequency of your clock source.


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复