11.4.9.7 Multiplexing Analog Output Peripheral

The following conditions are characteristic of a multiplexed analog output peripheral:

  • All digital port input buffers are disabled and PORTx registers read ‘0’ to prevent crowbar current.
  • Analog output is driven onto the pin independent of the associated TRISx setting.
Note: To use pins that are multiplexed with the ADC module for digital I/Os, the corresponding bits in the ANSELx register, if present, must be set to ‘0’, even if the ADC module is turned off.