S3C2410A I/O PORTS
9-19
PORT H CONTROL REGISTERS (GPHCON, GPHDAT, AND GPHUP)
Register Address R/W Description Reset Value
GPHCON 0x56000070 R/W Configure the pins of port H 0x0
GPHDAT 0x56000074 R/W The data register for port H Undefined
GPHUP 0x56000078 R/W Pull-up disable register for port H 0x0
Reserved 0x5600007C – Reserved Undefined
GPHCON Bit Description
GPH10 [21:20] 00 = Input 01 = Output
10 = CLKOUT1 11 = Reserved
GPH9 [19:18] 00 = Input 01 = Output
10 = CLKOUT0 11 = Reserved
GPH8 [17:16] 00 = Input 01 = Output
10 = UEXTCLK 11 = Reserved
GPH7 [15:14] 00 = Input 01 = Output
10 = RXD2 11 = nCTS1
GPH6 [13:12] 00 = Input 01 = Output
10 = TXD2 11 = nRTS1
GPH5 [11:10] 00 = Input 01 = Output
10 = RXD1 11 = Reserved
GPH4 [9:8] 00 = Input 01 = Output
10 = TXD1 11 = Reserved
GPH3 [7:6] 00 = Input 01 = Output
10 = RXD0 11 = reserved
GPH2 [5:4] 00 = Input 01 = Output
10 = TXD0 11 = Reserved
GPH1 [3:2] 00 = Input 01 = Output
10 = nRTS0 11 = Reserved
GPH0 [1:0] 00 = Input 01 = Output
10 = nCTS0 11 = Reserved
GPHDAT Bit Description
GPH[10:0] [10:0] When the port is configured as input port, data from external sources can be
read to the corresponding pin. When the port is configured as output port, data
written in this register can be sent to the corresponding pin. When the port is
configured as functional pin, undefined value will be read.
GPHUP Bit Description
GPH[10:0] [10:0] 0: The pull-up function attached to to the corresponding port pin is enabled.
1: The pull-up function is disabled.