In my program I use a interrupt function which is triggered by a timer. The interrupt function is as follows:
#pragma interrupt alignsp saveall asm void TI1_Interrupt(void) { /* Reset interrupt request flag */ bfclr #0x8000, X:0x00f007 //do some calculations... RTI }
At the beginning the Interrupt request flag is set back. Then some calculations are done. The timer is running very fast. It could possible be that the time overflows before the functions has ended.
So my question is: is it possible that the interrupt function is called again before the function has been executed to the end? Or does the interrupt controller wait until the function has been executed before the interrupt function is called again?