18.4.10 Result Formatting

The result of a single conversion (MODE[1:0] bits = ‘00’) is stored in the ADnCHxDATA register. For the multiple conversion modes (MODE[1:0] != ‘00’), the results are added to an internal primary accumulator. The result sum is copied from the primary accumulator to the ADnCHxDATA register when the corresponding CHxRDY bits are set.

The value in the ADnCHxDATA register is formatted using DIFF and LEFT bit settings (ADnCHxCON[15] and ADnCHxCON[10]). The format options are explained in Table 18-22.

Table 18-22. Output Format
Differential Format Option DIFF bitInput VoltageResult in ADnCHxDATA Register
(VINP = Voltage on non-inverting input, VINN = Voltage on inverting input)LEFT bit = 0LEFT bit = 1
DecimalHexDecimalHex
0VINP = 000000 0000 00000 0000
VINP = VDD/2 +20470000 07FF +2,146,435,0727FF0 0000
VINP ≥ VDD+40950000 0FFF +4,293,918,720FFF0 0000
1VINP – VINN ≦ – VDD-2048FFFF F800-2,147,483,6488000 0000
VINP – VINN = -VDD/2-1024FFFF FC00-1,073,741,824C000 0000
VINP – VINN = 000000 000000000 0000
VINP – VINN = VDD/2 +10230000 003FF +1,072,693,2483FF0 0000
VINP – VINN ≥ VDD+20470000 007FF +2,146,435,0727FF0 0000