![](http://datasheet.mmic.net.cn/30000/M30622F8PGP_datasheet_2359050/M30622F8PGP_219.png)
Programmable I/O Ports
219
Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Under
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Pull-up control register 0 (Note 1)
Symbol
Address
After reset
PUR0
03FC16
0016
Bit name
Function
Bit symbol
RW
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
0 : Not pulled high
1 : Pulled high (Note 2)
Pull-up control register 1
Symbol
Address
After reset(Note 5)
PUR1
03FD16
000000002
000000102
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
PU10
P40 to P43 pull-up (Note 2)
PU11
P44 to P47 pull-up (Note 4)
PU12
P50 to P53 pull-up (Note 2)
PU13
P54 to P57 pull-up (Note 2)
PU14
P60 to P63 pull-up
PU15
P64 to P67 pull-up
PU16
P72 to P73 pull-up (Note 1)
PU17
P74 to P77 pull-up
0 : Not pulled high
1 : Pulled high (Note 3)
Note 1: The P70 and P71 pins do not have pull-ups.
Note 2: During memory extension and microprocessor modes, the pins are not pulled high although the contents
of these bits can be modified.
Note 3: The pin for which this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
Note 4: If the PM01 to PM00 bits are set to “012” (memory expansion mode) or “112” (microprocessor mode) in a
program during single-chip mode, the PU11 bit becomes “1”.
Note 5: The values after hardware reset 1 and 2 are as follows:
000000002 when input on CNVss pin is “L“
000000102 when input on CNVss pin is “H“
The values after software reset, watchdog timer reset and oscillation stop detection reset are as follows:
000000002 when PM 01 to PM00 bits of PM0 register are “002“ (single-chip mode)
000000102 when PM 01 to PM00 bits of PM0 register are “012“ (memory expansion mode) or
“112“ (microprocessor mode)
Note 1: During memory extension and microprocessor modes, the pins are not pulled high although their
corresponding register contents can be modified.
RW
Note 2: The pin for which this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
Pull-up control register 2
Symbol
Address
After reset
PUR2
03FE16
0016
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
PU20
P80 to P83 pull-up
PU21
P84 to P87 pull-up
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”.
0 : Not pulled high
1 : Pulled high (Note 1)
RW
(b7-b6)
Note 1: The pin for which this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
Note 2: The P85 pin does not have pull-up.
(Note 2)
Figure 1.25.10. PUR0 to PUR2 Registers