CMS32L051 User Manual |Chapter 11 A/D Converter
www.mcu.com.cn 282 / 703
11.3 Input voltage and conversion results
The analog input voltage at the analog input pin (ANIx) and the theoretical A/D conversion result (12-bit
A/D Conversion Result Register (ADCR)) are related by the following expressions.
INT() : A function that returns the integer portion of a numeric value in parentheses
V
AN
: Analog input voltage
AV REF : AV
REF
pin voltage
ADCR : The value of the A/D conversion result register (ADCR).
SAR : Successive approximation registers
The relationship between the analog input voltage and the A/D conversion results is shown in the
following figure.
Figure11-15 Analog input voltage vs. A/D conversion results
Note AV
REF
is the positive (+) reference voltage of the A/D converter.