Problem Description:
datasheet PIC18F87K22
page 171 -
table 12.2 - summery of registers with port A
TABLE SHOWS THE FOLLOWING
ANCON0 , BIT 4 = ANSEL4
however bit4 of port A is NOT an analog port
Problem Resolution:
Hi Sheldon,
Good Day.
Thank you for writing to us and pointing out this inconsistency in the datasheet.
Looking at Table 12-2, I think the ANSEL4 should be for port RA5 since this port is multiplexed with AN4 which is an analog signal(See Table 12-1).
I have already reported this inconsistency to our documentation team and this should be corrected for the future version of datasheet.
Best Regards,
Bookmarks