Anonymous
Not applicable
Apr 08, 2011
07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2011
07:45 AM
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
Labels
- Labels:
-
PSoC 1
3 Replies
Apr 08, 2011
09:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2011
09:56 AM
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
Apr 08, 2011
09:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2011
09:57 AM
Anonymous
Not applicable
Apr 08, 2011
02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 08, 2011
02:08 PM
Working..
Thank you!