16.4.10 Result

The result of each single conversion is stored in the ADnRESx register. For the Multiple Conversion modes (MODE[1:0] != ‘00’), the results are added to a primary accumulator (ADnDATAx). The result sum in ADnDATAx register is valid only when the corresponding CHxRDY bit is set in ADnSTAT register.

The result value is formatted using DIFF and FRAC bit settings (ADnCHxCON1[31] and ADnCHxCON1[30]). The format options are explained in Table 16-5.

Table 16-5. Output Format
Differential Format Option DIFF bitInput VoltageConversion Result
(VINP = Voltage on non-inverting input, VINN = Voltage on inverting input)FRAC bit = 0FRAC 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