Port Group Gpd0 Control Register - Samsung S5PC110 Manual

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM

2.2.7 PORT GROUP GPD0 CONTROL REGISTER

There are six control registers, namely, GPD0CON, GPD0DAT, GPD0PUD, GPD0DRV, GPD0CONPDN and
GPD0PUDPDN in the Port Group GPD0 Control Registers.
2.2.7.1 Port Group GPD0 Control Register (GPD0CON, R/W, Address = 0xE020_00A0)
GPD0CON
GPD0CON[3]
GPD0CON[2]
GPD0CON[1]
GPD0CON[0]
2.2.7.2 Port Group GPD0 Control Register (GPD0DAT, R/W, Address = 0xE020_00A4)
GPD0DAT
GPD0DAT[3:0]
2.2.7.3 Port Group GPD0 Control Register (GPD0PUD, R/W, Address = 0xE020_00A8)
GPD0PUD
GPD0PUD[n]
Bit
[15:12]
0000 = Input
0001 = Output
0010 = TOUT_3
0011 ~ 1110 = Reserved
1111 = GPD0_INT[3]
[11:8]
0000 = Input
0001 = Output
0010 = TOUT_2
0011 ~ 1110 = Reserved
1111 = GPD0_INT[2]
[7:4]
0000 = Input
0001 = Output
0010 = TOUT_1
0011 ~ 1110 = Reserved
1111 = GPD0_INT[1]
[3:0]
0000 = Input
0001 = Output
0010 = TOUT_0
0011 ~ 1110 = Reserved
1111 = GPD0_INT[0]
Bit
[3:0]
When the port is configured as input port, the corresponding
bit is the pin state. When the port is configured as 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.
Bit
[2n+1:2n]
00 = Pull-up/ down disabled
01 = Pull-down enabled
n=0~3
10 = Pull-up enabled
11 = Reserved
2 GENERAL PURPOSE INPUT/ OUTPUT
Description
Description
Description
Initial State
0000
0000
0000
0000
Initial State
0x00
Initial State
0x0055
2-53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents