
Rev.2.10 Apr 14, 2006 page 256 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 20. Programmable I/O Ports
Pull-up Control Register 0
(1)
Bit NameBit Symbol RW
b7 b6 b5 b4 b3 b2 b1 b0
PUR0
03FCh
00h
Symbol Address After Reset
NOTES:
1. During memory expansion and microprocessor modes, the pins are not pulled high although their corresponding
register contents can be modified.
* Not available memory expansion and microprocessor modes in T/V-ver..
2. The pin for which this bit is 1 (pulled high) and the direction bit is 0 (input mode) is pulled high.
PU00
PU01
PU02
PU03
PU04
PU05
PU06
PU07
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
(2)
RW
RW
RW
RW
RW
RW
RW
RW
Function
Pull-up Control Register 1
Bit NameBit Symbol RW
b7 b6 b5 b4 b3 b2 b1 b0
PUR1
03FDh
00000000b
00000010b
Symbol Address After Reset
(1)
NOTES:
1. The values after hardware reset is as follows:
00000000b when input on CNVSS pin is "L".
00000010b when input on CNVSS pin is "H". (CNVSS pin = H is not available in T/V-ver..)
The values after software reset, watchdog timer reset and oscillation stop detection reset are as follows:
00000000b when bits PM 01 to PM00 in the PM0 register are 00b (single-chip mode).
00000010b when bits PM 01 to PM00 are 01b (memory expansion mode) or 11b (microprocessor mode).
* Not available memory expansion and microprocessor modes in T/V-ver..
2. During memory expansion and microprocessor modes, the pins are not pulled high although their corresponding
register contents can be modified.
* Not available memory expansion and microprocessor modes in T/V-ver..
3. If bits PM01 to PM00 are set to 01b (memory expansion mode) or 11b (microprocessor mode) in a program
during single-chip mode, the PU11 bit becomes 1.
* Not available memory expansion and microprocessor modes in T/V-ver..
4. The P7_1 pin does not have pull-up.
5. The pin for which this bit is 1 (pulled high) and the direction bit is 0 (input mode) is pulled high.
PU10
PU11
PU12
PU13
PU14
PU15
PU16
PU17
P4_0 to P4_3 pull-up
(2)
P4_4 to P4_7 pull-up
(3)
P5_0 to P5_3 pull-up
(2)
P5_4 to P5_7 pull-up
(2)
P6_0 to P6_3 pull-up
P6_4 to P6_7 pull-up
P7_0, P7_2, and P7_3 pull-up
(4)
P7_4 to P7_7 pull-up
0 : Not pulled high
1 : Pulled high
(5)
RW
RW
RW
RW
RW
RW
RW
RW
Function
Pull-up Control Register 2
Bit NameBit Symbol RW
b7 b6 b5 b4 b3 b2 b1 b0
PUR2
03FEh
00h
Symbol Address After Reset
NOTES:
1. The P8_5 pin does not have pull-up.
2. The P9_1 pin does not have pull-up.
3. The pin for which this bit is 1 (pulled high) and the direction bit is 0 (input mode) is pulled high.
PU20
PU21
PU22
PU23
PU24
PU25
-
(b7-b6)
P8_0 to P8_3 pull-up
P8_4, P8_6, and P8_7 pull-up
(1)
P9_0, P9_2, and P9_3 pull-up
(2)
P9_4 to P9_7 pull-up
P10_0 to P10_3 pull-up
P10_4 to P10_7 pull-up
0 : Not pulled high
1 : Pulled high
(3)
RW
RW
RW
RW
RW
RW
-
Function
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
Figure 20.9 Registers PUR0, PUR1, and PUR2
Comentarios a estos manuales