14.4.2 Direction Control
The TRISx register controls the PORTx pin output drivers, even when
they are being used as analog inputs. The user must ensure the bits in the TRISx register
are maintained set when using them as analog inputs. I/O pins configured as analog inputs
always read as ‘0
’.