I have a question regarding external interrupts. I have configured one of the GPIO's as a external interrupt source. And I've lately discovered that if I temporarily disable the interrupt like in the following example:
XIntruptRegs.XINTnCR.bit.ENABLE = 0;
//do something
XIntruptRegs.XINTnCR.bit.ENABLE = 1;
and if the interrupt will occur exactly between those two instructions then the interrupt is lost.
I thought that there is something like interrupt flag, and the pending interrupt will be serviced as soon as the interrupt is enabled.
Is this really like this and is my observation correct? I have not found any information on this in the manuals.
Best regards,
Andy