How to write a interrupt function in MC56F8006

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

How to write a interrupt function in MC56F8006

674件の閲覧回数
khalil001
Contributor II

Hello, I am using MC56F8006 demo. 

but I don't know how to use the TMR0 to write a interrupt function.

Could you help me. or give me a templet.

Thank you very very much.

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

487件の閲覧回数
sutter_zhou
NXP Employee
NXP Employee

#pragma interrupt saveall

void tmr0Isr(void)

{

   ...

}

#pragma interrupt off

0 件の賞賛

487件の閲覧回数
khalil001
Contributor II

I use C to write

0 件の賞賛