You are reading the table correctly, but ...
If you do not care what RA0-RA1 are doing when you are doing your ADC on RA3, then yes, you can have your cake and eat it to.
ADCON1 = 7 ' all digital
do stuff here that requires RA0-RA2 to be digital
ADCON1 = 132 ' RA0, RA1, RA3 = analog, RA2 = digital
do your conversion on RA3 (see Datasheet section 11.3 so that you can see what RA0 RA1 are doing)
ADCON1 = 7 ' all digital again
etc.
Why not use the option where RA0 = analog and the rest digital? (i.e., why not swap your RA3 and RA0 pins assignments?
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks