How to write a interrupt function in MC56F8006

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to write a interrupt function in MC56F8006

653 Views
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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

466 Views
sutter_zhou
NXP Employee
NXP Employee

#pragma interrupt saveall

void tmr0Isr(void)

{

   ...

}

#pragma interrupt off

0 Kudos

466 Views
khalil001
Contributor II

I use C to write

0 Kudos