Interrupts not through vector table ?

Hello.

As stated previously, I'm not not very familiar with ARM/Keil uV4.
My problem: My PIT interrupt service routine: "__irq ISR_Pit()" seems to:
1) Beeing executed WITHOUT beeing routed/executed through the VECTOR table.
2) When executed once, PC simply returns to start of ISR_Pit() for another round of execution (with "terrible consequences" thereafter ....).

Q1: Isn't ALL interrupts/exceptions to be executed via/through the VECTOR table ?
Q2: I assume the definition/declaration "void __irq ISR_Pit(void)" is sufficient to ensure register bank switching so PC returns back to normal execution after executing this interrupt service routine?

Regards Terje Bøhler

Parents Reply Children
More questions in this forum