Hi!
I have a problem with counter interrupt. I write simple program in C and now I want use it in the counter interrupt. So, what I should do to use C function in .asm file??
P.S. I'm sorry about my English
You have to first write your ISR in C, then declare it as ISR using the #pragma interrupt_handler directive and then place an ljmp to the C ISR inside the Counter's ISR file. Check out the below KB article that explains in detail how to write a C ISR.
Best Regards,
Ganesh
Working..
Thank you!