43.6.2.9 Output Data Formats

The Analog/Digital core provides up to 12-bits of resolution which are available in registers CHRDYDAT and PFFDATA as 16 bits. The 12-bit ADC output data is translated into a 16-bit format specified by CHNCFG2n.FRACTk. Additionally, the CHNCFG2n.SIGNk bit specifies the data format as unsigned, or two’s complementary signed.

The following table shows the four cases of the channel index k 16-bit output data format depending on the values [ FRACTk ,SIGNk ]:

Table 43-2. ADC Analog Input Channel n Data Format Examples
FRACTk SIGNk 16-bit Output Data Format
s = sign bit

d = mantissa value bit

0 0 0000 dddd dddd dddd
0 1 ssss sddd dddd dddd
1 0 dddd dddd dddd 0000
1 1 sddd dddd dddd 0000