The event is not lost as long as there weren't two consecutive interrupts from the same source during that time, of course. If the flag is set during disabled interrupts, they will be serviced immediately after interrupts are enabled again. But interrupt priority comes into place here - if there are several pending interrupts from different sources, the one with the highest priority will be serviced first. Of course servicing higher priority interrupts mustn't take too long so that another interrupt from the same source occurs while there is a pending one already. Dennis
↧