English
Language : 

GMS84512 Datasheet, PDF (31/123 Pages) Hynix Semiconductor – 8-BIT SINGLE CHIP MICROCOMPUTER
GMS 84512 / 84524
3.1.4 R3 PORT
You can use lower 2-bits(R31, R30) of R3 port as input mode only. But others as input or output
mode
0
1
2
R3
3
PORT 4
5
6
7
Pin Name
R30/ INT1
R31/ INT2
R32/ PWM8
R33/ Sout
R34/ Sclk
R35/ Sin/ Cin3
R36/ PWM7
R37/ PWM6
Selection Mode
Port Selection 2nd Function
R30 ( I )
INT1 ( I )
R31 ( I )
INT2 ( I )
R32 ( I/O )
PWM8 ( O )
R33 ( I/O )
Sout ( I/O )
R34 ( I/O )
Sclk ( I/O )
R35 ( I/O )
Sin/ Cin3 ( I )
R36 ( I/O )
PWM7 ( O )
R37 ( I/O )
PWM6 ( O )
Type
IB
IB
IOD
IOG
IOG
IOE
IOF
IOF
l Register Structure and Description
Register Name
R3 I/O Direction Register
R3 Port Data Register
Port Function Selection Register
Serial I/O Mode Register
PWM Control Register 1
PWM Control Regsiter 2
Symbol R/W
R3DD W
R3 R/W
FUNC W
SIOM R/W
PWMCR1 R/W
PWMCR2 R/W
Address
00C7H
00C6H
00CAH
00D8H
00E4H
00E5H
Initial Value
0000 0000
Not Initialized
---0 0000
-000 0001
0000 0000
---0 0000
PORT R3 I/O DIRECTION REGISTER
R3DD
<00C7H>
W
W
W
W
W
W
-
-
7
6
5
4
3
2
1
0
R3DD7 R3DD6 R3DD5 R3DD4 R3DD3 R3DD2 -
-
Initial value when MCU Reset
[ 0000 00-- ]
Not used
Port R3 I/O Direction Register
( R3DD2 is assigned to R32 port )
0 : Input
1 : Output
3-6