SLAZ188T October 2012 – May 2021 MSP430F2618
PORT Module
Functional
PxIFG is set on PUC
The PxIN register is cleared when a PUC is asserted, and it regains the original value after the PUC is de-asserted. If the PxIN register bits read high, asserting a PUC causes clearing of the register, which results in a high-to-low transition. Once the PUC is de-asserted, the PxIN register is restored to high, which results in a low-to-high transition. This behavior results in the PxIFG being set regardless of the PxIES setting.
Prior to setting PxIE bits ensure that corresponding PxIFG bits are cleared.