how to utilize interrupts in arm9 processors..? what is residing inside ISR..?
I am talking about ARM9 not cortex core...and i want to know how can we write ISR in c compilers...?
Thanks for clarifying.
I recommend that you start by reading a couple of sections in the ARM Software Development Tools documentation. While these refer specifically to ARM tools, the core behaviour which they describe is not tools-specific. Try:
- Section 10.11 "__irq" in the Compiler User Guide, and
- Section 5.12 "__Re-entrant Interrupt Handling" in the ARM Compiler Software Development Guide
You can find both of these documents on our documentation site at infocenter.arm.com. Looks under "ARM Software Development Tools" in the section on "ARM Compiler Toolchain".
You say that you are interested in writing interrupt handlers using the C compiler. You should note that, with the ARM compiler at least, it is only possible to write a simple, non re-entrant interrupt handler in C. To handle re-entrant (or nested) interrupts, you need to write some assembler too. This is explained in the sections I referenced above.
Hope this helps.
Chris