Realtek RTD2120-series
confidential
20
VLT
7:6
R/W
0
low_threshold_voltage
00:1.8V
01:2.0V
10:2.2V
11:2.4V
reserved
5:0
--
00
reserved
A/D Converter
RTD2120 has embedded 4 channels of analog-to-digital converter. The ADCs convert analog
input voltage on the four A/D input pins to four 6-bit digital data stored in XFRs (FF0C~FF0F)
sequentially.
The ADC conversion range is from GND to VDD and the conversion is linear and monotonic with no
missing codes. To start A/D conversion, set STRT_ADC(FF0B[7]) = 1 and the conversion will be
complete in less than 12 us for 4 channels.
Register::ADC_control
0xFF0B
Name
Bits
Read/Write
Reset State
Comments
STRT_ADC
7
R/W
0
Write 1 to start the A/D conversion. Auto
clear when A/D Conversion has been
completed.
0:A/D Conversion has been completed
1:A/D Conversion is not completed yet
ADC_TEST
6
R/W
0
0: Normal operation
1: ADC test mode
reserved
5:3
R/W
0
Reserved
BIAS_ADJ
2:1
R/W
1
ADC bias current adjust
00: 15u
01: 20u
10: 25u
11: 30u
CK_SEL
0
R/W
0
Inverse ADC input clock pos/neg
0: pos
1: neg
Register::ADC0_convert_result
0xFF0C
Name
Bits
Read/Write
Reset State
Comments
ADC0_CONV
_DATA
7:2
R
3F
Converted data of ADC0
reserved
1:0
--
00
Register::ADC1_convert_result
0xFF0D