
I/O PORTS
S3C3410X RISC MICROPROCESSOR
7-8
PORT 1 CONTROL REGISTERS (PCON1, PDR1)
Register
Offset
Address
R/W
Description
Reset
Value
PCON1
0xb012
R/W
Configuration the pins of Port 1
0x0
PDR1
0xb029
R/W
pull-down disable resister for port 1
0xff
PCON1
Bit
Description
Initial State
P1.0
[0]
Setting the corresponding bit of Port 1
0 = Schmitt input mode
1 = C-MOS push-pull output mode
0
P1.1
[1]
Setting the corresponding bit of Port 1
0 = Schmitt input mode
1 = C-MOS push-pull output mode
0
P1.2
[2]
Setting the corresponding bit of Port 1
0 = Schmitt input mode
1 = C-MOS push-pull output mode
0
P1.3
[3]
Setting the corresponding bit of Port 1
0 = Schmitt input mode
1 = C-MOS push-pull output mode
0
P1.4
[4]
Setting the corresponding bit of Port 1
0 = Input or External interrupt input(EINT4). If the EINT4 is
enabled, this pin will be used as external interrupt request pin.
Otherwise, this pin will be used as input port pin.
1 = C-MOS push-pull output mode
0
P1.5
[5]
Setting the corresponding bit of Port 1
0 = Input or External interrupt input(EINT5). If the EINT5 is
enabled, this pin will be used as external interrupt request pin.
Otherwise, this pin will be used as input port pin.
1 = C-MOS push-pull output mode
0
P1.6
[6]
Setting the corresponding bit of Port 1
0 = Input or External interrupt input(EINT6). If the EINT6 is
enabled, this pin will be used as external interrupt request pin.
Otherwise, this pin will be used as input port pin.
1 = C-MOS push-pull output mode
0
P1.7
[7]
Setting the corresponding bit of Port 1
0 = Input or External interrupt input(EINT7). If the EINT7 is
enabled, this pin will be used as external interrupt request pin.
Otherwise, this pin will be used as input port pin.
1 = C-MOS push-pull output mode
0
MP1
[15:8]
Setting the Port 1 mode
0 = Normal input/output mode
(P1.0 – P1.7 sets the its corresponding bit of Port 1)
1 = Address bus line mode (Don't care of value P1.0 – P1.7). If
this bit is 1, P1.0–P1.7 will be used as address of A16 – A23.
0x00
PDR1
Bit
Description
Initial State
P1
[7:0]
Setting the corresponding pull-down resistor of Port 1
0 = Disable pull-down resister
1 = Enable pull-down resister
0xff