English
Language : 

PIC16F631_08 Datasheet, PDF (112/306 Pages) Microchip Technology – 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F631/677/685/687/689/690
9.1.6 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 ADCON0 register controls the output format.
Figure 9-3 shows the two output formats.
FIGURE 9-3:
10-BIT A/D CONVERSION RESULT FORMAT
ADRESH
(ADFM = 0) MSB
bit 7
bit 0
10-bit A/D Result
(ADFM = 1)
bit 7
MSB
bit 0
Unimplemented: Read as ‘0’
ADRESL
LSB
bit 7
bit 0
Unimplemented: Read as ‘0’
LSB
bit 7
bit 0
10-bit A/D Result
DS41262E-page 110
© 2008 Microchip Technology Inc.