CONTROL REGISTERS
S3C80A5B
4-22
P2CON
— Port 2 Control Register
F0H
Set 1
Bit Identifier
.7
.6
.5
.4
.3
.2
.1
.0
RESET Value
0
0
0
0
0
0
0
0
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Addressing Mode
Register addressing mode only
.7–.6
P2.2 Mode Selection Bits
0
0
C-MOS input mode
0
1
Open-drain output mode
1
0
Push-pull output mode
1
1
C-MOS input with pull up mode
.5–.4
P2.1 Mode Selection Bits
0
0
C-MOS input mode
0
1
Open-drain output mode
1
0
Push-pull output mode
1
1
C-MOS input with pull up mode
.3–.2
P2.0 Mode Selection Bits
0
0
C-MOS input mode
0
1
Open-drain output mode
1
0
Push-pull output mode
1
1
C-MOS input with pull up mode
.1
P2.1 Alternative Function Selection Bits
0
Normal I/O function
0
REM/T0CK function
.0
P2.0 Alternative Function Selection Bits
0
Normal I/O function
0
T0PWN function