
Programmable Ports
Specifications in this manual are tentative and subject to change
Rev. E
MITSUBISHI MICROCOMPUTERS
M30245 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
184
Bit Symbol
Bit Name
Function
R W
PU00
PU01
PU02
PU03
PU04
PU05
PU06
PU07
P0
0 to P03 pull up
P0
4 to P07 pull up
P1
0 to P13 pull up
P1
4 to P17 pull up
P2
0 to P23 pull up
P2
4 to P27 pull up
P3
0 to P33 pull up
P3
4 to P37 pull up
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
O O
Symbol
PUR0
Address
03FC
16
When reset
00
16
Pull-up control register 0 (Note)
b7
b5
b6
b4
b3
b2
b1
b0
O O
Note:
In memory expansion and microprocessor mode, the contents of this register can be
changed but the pull-up resistor is not connected.
Nothing is assigned.
Write "0" when writing to these bits. The value is "0" if read.
Bit Symbol
Bit Name
Function
R W
PU10
PU11
PU12
PU13
PU14
PU15
PU16
PU17
P4
0 to P43 pull up (Note 3)
P4
4 to P47 pull up
P5
0 to P53 pull up (Note 3)
P5
4 to P57 pull up
P6
0 to P63 pull up
P6
4 to P67 pull up
P7
0 to P73 pull up (Note 1)
P7
4 to P77 pull up
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
O O
Symbol
PUR1
Address
03FD
16
When reset (Note 2)
00
16
Pull-up control register 1
b7
b5
b6
b4
b3
b2
b1
b0
O O
Note 1: Pull-up is not available for P7
0 and P71 because they are N-channel open drain ports.
Note 2: This register becomes 0216 when reset under the following conditions:
a) Hardware reset: when Vcc is applied to the CNVss pin.
b) Software reset: if bit 1 and bit 0 of processor mode register 0 (address 000416) are
102 or 112 before reset.
Note 3: In memory expansion and microprocessor mode, the contents of this register can be
changed but the pull-up resistor is not connected.
Bit Symbol
Bit Name
Function
R W
PU20
PU21
PU22
P8
0 to P83 pull up
P8
4 to P87 pull up (except P85)
P9
0 to P93 pull up (except P91)
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
O O
Symbol
PUR2
Address
03FE
16
When reset
00
16
Pull-up control register 2
b7
b5
b6
b4
b3
b2
b1
b0
O O
_
O O
PU24
PU25
P10
0 to P103 pull up
P10
4 to P107 pull up
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
_
Nothing is assigned.
Write "0" when writing to these bits. The value is "0" if read.
Figure 1.138. Pull-up control registers