For F877,

On PortA, how do we set AN0 as analog, all others as digital and Vref=Vdd?
I am trying to have one analog channel and remaining pins as all digital on this port.

Thanks for the help in advance.


-------------------