How to write a interrupt function in MC56F8006

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

How to write a interrupt function in MC56F8006

1,267件の閲覧回数
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 返答(返信)

1,080件の閲覧回数
sutter_zhou
NXP Employee
NXP Employee

#pragma interrupt saveall

void tmr0Isr(void)

{

   ...

}

#pragma interrupt off

0 件の賞賛
返信

1,080件の閲覧回数
khalil001
Contributor II

I use C to write

0 件の賞賛
返信