Datasheet

2011-2012 Microchip Technology Inc. Preliminary DS41579D-page 153
PIC16(L)F1782/3
TABLE 17-2: ADC OUTPUT RESULTS FORMAT
Absolute ADC Value
(decimal)
Sign and Magnitude Result
ADFM = 0, ADRMD = 0
2’s Compliment Result
ADFM = 1, ADRMD = 0
ADRESH
(ADRES<15:8>)
ADRESL
(ADRES<7:0>)
ADRESH
(ADRES<15:8>)
ADRESL
(ADRES<7:0>)
+ 4095 1111 1111 1111 0000 0000 1111 1111 1111
+ 2355 1001 0011 0011 0000
0000 1001 0011 0011
+ 0001 0000 0000 0001 0000
0000 0000 0000 0001
0000 0000 0000 0000 0000
0000 0000 0000 0000
- 0001 0000 0000 0001 0001
1111 1111 1111 1111
- 4095 1111 1111 1111 0001
1111 0000 0000 0001
- 4096 0000 0000 0000 0001
1111 0000 0000 0000
Note 1: For the RSD ADC, the raw 13-bits from the ADC is presented in 2’s compliment format, so no data
translation is required for 2’s compliment results.
2: For the SAR ADC, the raw 13-bits from the ADC is presented in sign and magnitude format, so no data
translation is required for sign and magnitude results