170
Mitsubishi microcomputers
M16C / 62T Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Programmable I/O Port
Figure 1.23.7. Pull-up control register
Pull-up control register 0
Symbol
Address
When reset
PUR0
03FC16
0016
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PU00
P00 to P03 pull-up
PU01
P04 to P07 pull-up
PU02
P10 to P13 pull-up
PU03
P14 to P17 pull-up
PU04
P20 to P23 pull-up
PU05
P24 to P27 pull-up
PU06
P30 to P33 pull-up
PU07
P34 to P37 pull-up
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
Pull-up control register 1
Symbol
Address
When reset
PUR1
03FD16
0016 (Note 2)
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PU10
P40 to P43 pull-up
PU11
P44 to P47 pull-up
PU12
P50 to P53 pull-up
PU13
P54 to P57 pull-up
PU14
P60 to P63 pull-up
PU15
P64 to P67 pull-up
PU16
P70 to P73 pull-up (Note 1)
PU17
P74 to P77 pull-up
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
Note 1: Since P70 and P71 are N-channel open drain ports, pull-up is not available for them.
Note 2: When the VCC level is being impressed to the CNVSS terminal, this register becomes
to 0216 when reset (PU11 becomes to “1”).
Note 3: In M30623(80-pin package), P44 to P47, and P72 to P75 are not connected to external
pin, but exist inside microcomputer. So set these ports for output mode.
Pull-up control register 2
Symbol
Address
When reset
PUR2
03FE16
0016
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PU20
P80 to P83 pull-up
PU21
P84 to P87 pull-up
(Except P85)
PU22
P90 to P93 pull-up
PU23
P94 to P97 pull-up
PU24
P100 to P103 pull-up
PU25
P104 to P107 pull-up
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be “0”.
The corresponding port is pulled
high with a pull-up resistor
0 : Not pulled high
1 : Pulled high
Note 1: In M30623(80-pin package), P1 is not connected to external pin, but exist
inside microcomputer. so set this port for output mode.
Note 1: In M30623(80-pin package), P1 is not connected to external pin, but exist
inside microcomputer. so set this port for output mode.