SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-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 to 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 |