4.8 Pin Selections
When the OPA module is enabled, the module takes control of the specified output pin (OPAxOUT), overriding any TRIS(1) or PPS(2) settings. Any pin selected as an OPA input, such as OPAxIN-, will also be forced to become an input, regardless of TRIS or PPS settings. If the OPA module is configured in Unity Gain mode, then the OPAxIN- pins will be free to use as general purpose I/O.
Note:
- Setting the TRIS bit allows a pin to be an input, and clearing the TRIS bit allows a pin to be an output.
- PPS allows the developer to map certain inputs and outputs to different pins.