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.

CCS/MSP430i2030: LPM0 Mode and interrupts

Part Number: MSP430I2030

Tool/software: Code Composer Studio

MSP430i2030 is running in LPM0 Mode.

Is the interrupt flag of a port pin set, even though the corresponding port pin interrupt is not enabled to wake up the μC?

I would like the info of a high flank later by reading the interrupt flag of the portpins, the μC is awakened by a timer interrupt.

I cant find info in datasheet.

  • Section 6.2.5 of the User's Guide says:

    Each PxIFG bit is the interrupt flag for its corresponding I/O pin and is set when the selected input signal edge occurs at the pin. All PxIFG interrupt flags request an interrupt when their corresponding PxIE bit and the GIE bit are set.

    This implies that the PxIFG bits are set even when the interrupt is not actually enabled.

    (In general, this is true for the interrupt flags of all modules.)

**Attention** This is a public forum