This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Pending interrupts while GIE disabled



Hi,

I can't find an answer to that simple question. Here's what happens:

 _disable_interrupts();

... Do some stuff...

... External interrupt raises IFG flag on a GPIO.

... Go on doing some stuff...

_enable_interrupts();

 

--> Should the pending interrupt be fired when _enable_interrupts() is called?

 

Here's another related question:

--> What happens if a GPIO interrupt comes exactly when entering any LPM mode? Is there any chance the interrupt will not be serviced?

 

Thank you for anyone's help.

**Attention** This is a public forum