Programmable I/O Ports
219
Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Pull-up control register 0 (Note 1)
Symbol
PUR0
Address
03FC
16
After reset
00
16
Bit name
Function
Bit symbol
PU00
PU01
PU02
PU03
PU04
PU05
PU06
PU07
RW
RW
RW
RW
RW
RW
RW
RW
RW
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
0 : Not pulled high
1 : Pulled high (Note 2)
Pull-up control register 1
Symbol
PUR1
Address
03FD
16
After reset(Note 5)
00000000
2
00000010
2
Bit name
Function
Bit symbol
PU10
PU11
PU12
PU13
PU14
PU15
b7
b6
b5
b4
b3
b2
b1
b0
P4
0
to P4
3
pull-up (Note 2)
P4
4
to P4
7
pull-up (Note 4)
P5
0
to P5
3
pull-up (Note 2)
P5
4
to P5
7
pull-up (Note 2)
P6
0
to P6
3
pull-up
P6
4
to P6
7
pull-up
PU16
PU17
P7
2
to P7
3
pull-up (Note 1)
P7
4
to P7
7
pull-up
0 : Not pulled high
1 : Pulled high (Note 3)
Note 1: The P7
0
and P7
1
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 “01
2
” (memory expansion mode) or “11
2
” (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:
00000000
2
when input on CNVss pin is “L“
00000010
2
when input on CNVss pin is “H“
The values after software reset, watchdog timer reset and oscillation stop detection reset are as follows:
00000000
2
when PM 01 to PM00 bits of PM0 register are “00
2
“ (single-chip mode)
00000010
2
when PM 01 to PM00 bits of PM0 register are “01
2
“ (memory expansion mode) or
“11
2
“ (microprocessor mode)
Note 1: During memory extension and microprocessor modes, the pins are not pulled high although their
corresponding register contents can be modified.
Note 2: The pin for which this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
RW
RW
RW
RW
RW
RW
RW
RW
RW
Pull-up control register 2
Symbol
PUR2
Address
03FE
16
After reset
00
16
Bit name
Function
Bit symbol
PU20
PU21
PU22
PU23
PU24
b7
b6
b5
b4
b3
b2
b1
b0
P8
0
to P8
3
pull-up
P8
4
to P8
7
pull-up
P9
0
to P9
3
pull-up
P9
4
to P9
7
pull-up
P10
0
to P10
3
pull-up
PU25
P10
4
to P10
7
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
RW
RW
RW
RW
RW
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 P8
5
pin does not have pull-up.
(Note 2)
Figure 1.25.10. PUR0 to PUR2 Registers