SLAZ374AH October 2012 – August 2021 MSP430FR5721
COMP Module
Functional
Polling comparator interrupts may result in a missed interrupt
Polling the comparator output interrupt and the output inverted interrupt flags (CEIFG.CExINT and CEIIFG.CExINT) may result in a missed interrupt if the flags are modified while being read.
Using an interrupt service routine to service CEIFG and CEIIFG interrupts significantly reduces the probability of the issue occurring.