Realtek RTD2120-series
confidential
15
l
All pins have 5V tolerance except four ADC pins:
“
P6.0/ADC0
”
,
“
P6.1/ADC1
”
,
“
P6.2/ADC2
”
and
”
P6.3/ADC3
”
.
Register::Port5_output_enable
0xFF03
Name
Bits
Read/Write
Reset State
Comments
P57OE
7
R/W
0
0: P5.7 is input pin
1: P5.7 is output pin
P56OE
6
R/W
0
0: P5.6 is input pin
1: P5.6 is output pin
P55OE
5
R/W
0
0: P5.5 is input pin
1: P5.5 is output pin
P54OE
4
R/W
0
0: P5.4 is input pin
1: P5.4 is output pin
P53OE
3
R/W
0
0: P5.3 is input pin
1: P5.3 is output pin
P52OE
2
R/W
0
0: P5.2 is input pin
1: P5.2 is output pin
P51OE
1
R/W
0
0: P5.1 is input pin
1: P5.1 is output pin
P50OE
0
R/W
0
0: P5.0 is input pin
1: P5.0 is output pin
Register::Port6_output_enable
0xFF04
Name
Bits
Read/Write
Reset State
Comments
P67OE
7
R/W
0
0: P6.7 is input pin
1: P6.7 is output pin
P66OE
6
R/W
0
0: P6.6 is input pin
1: P6.6 is output pin
P65OE
5
R/W
0
0: P6.5 is input pin
1: P6.5 is output pin
P64OE
4
R/W
0
0: P6.4 is input pin
1: P6.4 is output pin
P63OE
3
R/W
0
0: P6.3 is input pin
1: P6.3 is output pin
P62OE
2
R/W
0
0: P6.2 is input pin
1: P6.2 is output pin
P61OE
1
R/W
0
0: P6.1 is input pin
1: P6.1 is output pin
P60OE
0
R/W
0
0: P6.0 is input pin
1: P6.0 is output pin
Register::Port7_output_enable
0xFF05
Name
Bits
Read/Write
Reset State
Comments
P77OE
7
R/W
0
0: P7.7 is input pin
1: P7.7 is output pin