SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
The ADC supports two data formats – unsigned binary and 2’s complement signed binary. Unsigned binary results are stored right-justified in the MEMRES register or FIFO. Signed binary results are stored left justified in the MEMRES register or FIFO.
Data Format | Resolution | Result Range (decimal) | Result Range (hex) |
---|---|---|---|
Unsigned | 8-bit | 0 to 255 | 0000h to 00FFh |
10-bit | 0 to 1023 | 0000h to 03FFh | |
12-bit | 0 to 4095 | 0000h 0FFFh | |
Signed | 8-bit | -128 to 127 | 8000h to 7F00h |
10-bit | -512 to 511 | 8000h to 7FC0h | |
12-bit | -2048 to 2047 | 8000h to 7FF0h |