Datasheet

2012 Microchip Technology Inc. Preliminary DS41624B-page 145
PIC16(L)F1512/3
16.5.3 RESULT FORMATTING
The 10-bit A/D conversion result can be supplied in two
formats, left justified or right justified. The ADFM bit of
the AADCON1 register controls the output format.
Figure 16-7 shows the two output formats.
FIGURE 16-7: 10-BIT A/D CONVERSION RESULT FORMAT
AADRES0H AADRES0L
(ADFM =
0)MSB LSB
bit 7 bit 0 bit 7 bit 0
10-bit A/D Result Unimplemented: Read as ‘
0
(ADFM =
1) MSB LSB
bit 7 bit 0 bit 7 bit 0
Unimplemented: Read as ‘
0 10-bit A/D Result