Preliminary
I/O PORTS
S3C2451X RISC MICROPROCESSOR
11-20
PORT F CONTROL REGISTERS (GPFCON, GPFDAT, GPFUDP)
If GPF0–GPF7 will be used for wake-up signals from Sleep/Stop/Deep Stop mode, the ports will be set in EINT.
Register Address
R/W
Description
Reset
Value
GPFCON 0x56000050 R/W
Configures the pins of port F
0x0
GPFDAT
0x56000054
R/W
The data register for port F
0x0
GPFUDP 0x56000058 R/W
Pull-up/down
control register for port F
0x5555
Reserved 0x5600005c –
–
–
GPFCON Bit
Description
Reserved [31:16]
Reserved
GPF7
[15:14]
00 = Input
01 = Output
10 = EINT[7]
11 = Reserved
GPF6
[13:12]
00 = Input
01 = Output
10 = EINT[6]
11 = Reserved
GPF5
[11:10]
00 = Input
01 = Output
10 = EINT[5]
11 = Reserved
GPF4
[9:8]
00 = Input
01 = Output
10 = EINT[4]
11 = Reserved
GPF3
[7:6]
00 = Input
01 = Output
10 = EINT[3]
11 = Reserved
GPF2
[5:4]
00 = Input
01 = Output
10 = EINT[2]
11 = Reserved
GPF1
[3:2]
00 = Input
01 = Output
10 = EINT[1]
11 = Reserved
GPF0
[1:0]
00 = Input
01 = Output
10 = EINT[0]
11 = Reserved
GPFDAT Bit
Description
Reserved [31:8]
Reserved
GPF[7:0]
[7:0]
When the port is configured as an input port, the corresponding bit is the
pin state. When the port is configured as an output port, the pin state is the
same as the corresponding bit.
When the port is configured as functional pin, the undefined value will be
read.