Port 2 Control Register - Samsung S3C80A5B User Manual

8-bit cmos
Table of Contents

Advertisement

CONTROL REGISTERS
P2CON

— Port 2 Control Register

Bit Identifier
RESET Value
Read/Write
Addressing Mode
.7–.6
.5–.4
.3–.2
.1
.0
4-22
.7
.6
0
0
R/W
R/W
Register addressing mode only
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
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
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
P2.1 Alternative Function Selection Bits
0
Normal I/O function
0
REM/T0CK function
P2.0 Alternative Function Selection Bits
0
Normal I/O function
0
T0PWN function
.5
.4
0
0
R/W
R/W
R/W
F0H
.3
.2
.1
0
0
0
R/W
R/W
S3C80A5B
Set 1
.0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents