Does disabling an individual port 1 or 2 interrupt also disable the associated interrupt flag or does the interrupt flag continue to get set on the active transition of the discrete input even when its interrupt is disabled?
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.
Does disabling an individual port 1 or 2 interrupt also disable the associated interrupt flag or does the interrupt flag continue to get set on the active transition of the discrete input even when its interrupt is disabled?
Hi,
From the MSP4305xx users guide
" 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."
So flag is set even if the interrupt is disabled.
Barry
Barry,
I read that in the user's guide but when I read the next paragraph I was less certain.
"8.2.7.3 Interrupt Enable P1IE, P2IE "Each PxIE bit enables the associated PxIFG interrupt flag."
Thanks for the information.
Jack
John Malone said:Each PxIE bit enables the associated PxIFG interrupt flag
**Attention** This is a public forum