Hello,
I want to disable Timer's 0 interrupt while performing a small amount of code, i.e.
CpuTimer1Regs.TCR.bit.TIE = 0 Some Code CpuTimer1Regs.TCR.bit.TIE = 1
However, if the timer wraps around during the execution of some code, the ISR won't be called after re-enabling the interrupt.
Disabling the the PIE doesn't work either, i.e.
PieCtrlRegs.PIEIER1.bit.INTx7=0 Some Code PieCtrlRegs.PIEIER1.bit.INTx7=1
because SEQ1INT will be called if the interrupt occurs during the execution of some code.
What am I missing?
Stephen