Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

1,459件の閲覧回数
kdn
Contributor III

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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,159件の閲覧回数
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 件の賞賛
返信