42.6.3.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 CONFIG[n].CHNCFG2.FRACTk. Additionally, the CONFIG[n].CHNCFG2.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 42-2. ADC Analog Input Channel n Data Format Examples
FRACTkSIGNk16-bit Output Data Format
s = sign bit

d = mantissa value bit

000000 dddd dddd dddd
01ssss sddd dddd dddd
10dddd dddd dddd 0000
11sddd dddd dddd 0000