Hi,
I am using SPC5674F. In IRQ ISR I clear interrupt flag as
SIU.EISR.B.EIF10 = 1; //Clear Interrupt Flag.
After this line SIU.EISR.B.EIF11 and SIU.EISR.B.EIF12 flags cleared without my action. Same event occur if I use
SIU.EISR.B.EIF11 = 1;
After this line SIU.EISR.B.EIF10 and SIU.EISR.B.EIF12 flags cleared without my action. So after these lines I cannot get in if(SIU.EISR.B.EIF12) code.
For these examples I am sure that before SIU.EISR.B.EIF10 = 1; line SIU.EISR.B.EIF12 is equal to 1.
What will be problem.
I will clear all flags at the end of the function. At that situation it works well. But I want to learn problem.
Hi Martin,
Thank you for informations.