English
Language : 

M16C62_M Datasheet, PDF (596/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Appendix 3 Setting register for pin function selected
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin name P22/A2(/D2/D1)
Function selection
A2/D1
A2/D2
A2
P22
P22
P22
I/O Multiplexed bus
I/O Multiplexed bus
O Address output
I Port input (No pulled high)
I Port input (Pulled high)
O Port output
Pin No.
70 (FP)
68 (GP)
Setting register
2,3E6h
X
X
X
X
X
4,3FCh
X
X
X
X
X
5,004h
0
1
X
1
0
4,004h
1
0
1
X
0
1,004h
X
X
X
X
X
0,004h
1
1
1
1
1
BYTE
L
L
H
H
X
0
0
X
X
0
0
X
0
1
X
X
0
0
X
1
X
X
X
0
0
X
2,3E6h Port P22 direction register
4,3FCh P20 to P23 pull-up control register
5,004h Multiplexed bus space select bit of processor mode register 0
4,004h Multiplexed bus space select bit of processor mode register 0
1,004h Processor mode bit of processor mode register 0
0,004h Processor mode bit of processor mode register 0
BYTE BYTE pin
Remarks Page
1-28
1-28
1-28
1-163
1-163
1-163
1-168
1-170
1-23
1-23
1-23
1-23
1-26
Pin name P21/A1(/D1/D0)
Function selection
A1/D0
A1/D1
A1
P21
P21
P21
I/O Multiplexed bus
I/O Multiplexed bus
O Address output
I Port input (No pulled high)
I Port input (Pulled high)
O Port output
Pin No.
71 (FP)
69 (GP)
Setting register
1,3E6h
X
X
X
X
X
4,3FCh
X
X
X
X
X
5,004h
0
1
X
1
0
4,004h
1
0
1
X
0
1,004h
X
X
X
X
X
0,004h
1
1
1
1
1
BYTE
L
L
H
H
X
0
0
X
X
0
0
X
0
1
X
X
0
0
X
1
X
X
X
0
0
X
1,3E6h Port P21 direction register
4,3FCh P20 to P23 pull-up control register
5,004h Multiplexed bus space select bit of processor mode register 0
4,004h Multiplexed bus space select bit of processor mode register 0
1,004h Processor mode bit of processor mode register 0
0,004h Processor mode bit of processor mode register 0
BYTE BYTE pin
Pin name P20/A0(/D0/-)
Function selection
A0/-
A0/D0
A0
P20
P20
P20
I/O Multiplexed bus
I/O Multiplexed bus
O Address output
I Port input (No pulled high)
I Port input (Pulled high)
O Port output
Pin No.
72 (FP)
70 (GP)
Setting register
0,3E6h
X
X
X
X
X
4,3FCh
X
X
X
X
X
5,004h
0
1
X
1
0
4,004h
1
0
1
X
0
1,004h
X
X
X
X
X
0,004h
1
1
1
1
1
BYTE
L
L
H
H
X
0
0
X
X
0
0
X
0
1
X
X
0
0
X
1
X
X
X
0
0
X
0,3E6h Port P20 direction register
4,3FCh P20 to P23 pull-up control register
5,004h Multiplexed bus space select bit of processor mode register 0
4,004h Multiplexed bus space select bit of processor mode register 0
1,004h Processor mode bit of processor mode register 0
0,004h Processor mode bit of processor mode register 0
BYTE BYTE pin
Remarks Page
1-28
1-28
1-28
1-163
1-163
1-163
1-168
1-170
1-23
1-23
1-23
1-23
1-26
Remarks Page
1-28
1-28
1-28
1-163
1-163
1-163
1-168
1-170
1-23
1-23
1-23
1-23
1-26
2-279