From a data sheet.
Setting a
TRISA bit (= 1) will make the corresponding PORTA pin
an input (i.e., put the corresponding output driver in a
Hi-Impedance mode)
http://en.wikipedia.org/wiki/High_impedance