
deveopmen
Programmable I/O Port
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C/80 (144-pin version) group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
200
Figure 1.26.13. Pull-up control register (1)
Pull-up control register 0 (Note)
Symbol
PUR0
Address
03F0
16
When reset
00
16
Bit name
Function
Bit symbol
PU00
PU01
PU02
PU03
PU04
PU05
PU06
PU07
W
R
b7
b6
b5
b4 b3
b2
b1
b0
P0
0
to P0
3
pull-up
P0
4
to P0
7
pull-up
P1
0
to P1
3
pull-up
P1
4
to P1
7
pull-up
P2
0
to P2
3
pull-up
P2
4
to P2
7
pull-up
P3
0
to P3
3
pull-up
P3
4
to P3
7
pull-up
The corresponding port is pulled
high with a pull-up resistance
0 : Not pulled high
1 : Pulled high
AA
AA
AA
AA
AA
A
Pull-up control register 1 (Note)
Symbol
PUR1
Address
03F1
16
When reset
X0
16
Bit name
Function
Bit symbol
PU10
PU11
PU12
PU13
Nothing is assigned.
Theses bits can neither be set nor reset. When read, their contents are “0”.
W
R
b7
b6
b5
b4 b3
b2
b1
b0
P4
0
to P4
3
pull-up
P4
4
to P4
7
pull-up
P5
0
to P5
3
pull-up
P5
4
to P5
7
pull-up
The corresponding port is pulled
high with a pull-up resistance
0 : Not pulled high
1 : Pulled high
Note 1: Since P7
0
and P7
1
are N-channel open drain ports, pull-up is not available for them.
Note 2: Except port P8
5
.
AA
AA
A
Pull-up control register 2
Symbol
PUR2
Address
03DA
16
When reset
00
16
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4 b3
b2
b1
b0
PU20
P8
0
to P8
3
pull-up
PU21
PU22
PU23
P8
4
to P8
7
pull-up (Note 2)
P9
0
to P9
3
pull-up
P9
4
to P9
7
pull-up
The corresponding port is pulled
high with a pull-up resistance
0 : Not pulled high
1 : Pulled high
AA
AA
PU14
PU15
PU16
PU17
P6
0
to P6
3
pull-up
P6
4
to P6
7
pull-up
P7
0
to P7
3
pull-up (Note 1)
P7
4
to P7
7
pull-up
AA
AA
AA
AA
A
Note: Since P0 to P5 operate as the bus in memory expansion mode and microprocessor
mode, do not set the pull-up control register. However, it is possible to select pull-
up resistance presence to the usable port as I/O port by setting.
Note: Since P0 to P5 operate as the bus in memory expansion mode and microprocessor
mode, do not set the pull-up control register. However, it is possible to select pull-
up resistance presence to the usable port as I/O port by setting.