SLAZ242O October 2012 – May 2021 MSP430F4784
COMP Module
Functional
Control bits for comparator analog inputs not functional.
Bits P2CA0 and P2CA1 in CACTL2 used to connect the CA0 and CA1 device pins to the comparator module, respectively, have no effect when set to "1". The external connections to the comparator inputs are controlled instead by the CAPDx bits for the respective CA0 and CA1 port pins. (By definition, the CAPDx bits are used to disable the GPIO logic for each associated port pin.)
The CA0 and CA1 external inputs can be connected to the comparator internally by setting the bits CAPD6=1 and CAPD7=1 respectively. To disconnect an external analog signal from the CA0 or CA1 comparator inputs, CAPD6 or CAPD7 are cleared. Additionally in this case, the GPIO logic is no longer disabled and an external analog signal at the port input may cause increased current consumption through the digital input structure on the order of tens of microamps; the input leakage current is not affected.