34.1 OPA Module Control

The OPA module is enabled by setting the EN bit of the corresponding operational amplifier Configuration register. Once enabled, the OPA module forces the output driver of the output pin (OPAxOUT) into tri-state. Forcing the output pin into tri-state prevents contention between the digital PORT driver of the pin and the output of the OPA during operation. The Software Output Control (SOC) bits are used to select the OPA mode of operation when hardware controlled override is not being used (OREN = 0).