40.5.2.9 Output Data Formats
The Analog or Digital core provides up to 12-bits of resolution. 16-bits of resolution can be obtained when data is translated in to the CHRDYDAT or PFFDATA registers. The 12-bit ADC output is translated into a 16-bit format specified by CHNCFG2.FRACTk. Additionally, the CHNCFG3.SIGNk bit specifies the data format as unsigned or two’s complementary signed.
The following table provides the four cases of the channel index ‘’k for the 16-bit output data. Formatting depends on the CHNCFG2.FRACTk and CHNCFG3.SIGNk values as discussed:
| 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 |
