English
Language : 

M16C30P_07 Datasheet, PDF (206/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
18. Programmable I/O Ports
Pull-up Control Register 0 (2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PUR0
03FCh
00h
Bit Symbol
Bit Name
Function
RW
PU00 P0_0 to P0_3 Pull-Up
0 : Not pulled high
RW
PU01 P0_4 to P0_7 Pull-Up
1 : Pulled high (1)
RW
PU02 P1_0 to P1_3 Pull-Up
RW
PU03 P1_4 to P1_7 Pull-Up
RW
PU04 P2_0 to P2_3 Pull-Up
RW
PU05 P2_4 to P2_7 Pull-Up
RW
PU06 P3_0 to P3_3 Pull-Up
RW
PU07 P3_4 to P3_7 Pull-Up
RW
NOTES :
1. The pin for w hich this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
2. During memory extension and microprocessor modes, the pins are not pulled high although their corresponding register
contents can be modified.
Pull-Up Control Register 1
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset (5)
PUR1
03FDh
00000000b
00000010b
Bit Symbol
Bit Name
Function
RW
PU10 P4_0 to P4_3 Pull-Up (3)
0 : Not pulled high
RW
PU11 P4_4 to P4_7 Pull-Up (4)
1 : Pulled high (2)
RW
PU12 P5_0 to P5_3 Pull-Up (3)
RW
PU13 P5_4 to P5_7 Pull-Up (3)
RW
PU14 P6_0 to P6_3 Pull-Up
RW
PU15 P6_4 to P6_7 Pull-Up
RW
PU16 P7_2 to P7_3 Pull-Up (1)
RW
PU17 P7_4 to P7_7 Pull-Up
RW
NOTES :
1. The P7_0 and P7_1 pins do not have pull-ups.
2. The pin for w hich this bit is “1” (pulled high) and the direction bit is “0” (input mode) is pulled high.
3. During memory extension and microprocessor modes, the pins are not pulled high although the contents of these bits
can be modified.
4. If the PM01 to PM00 bits in the PM0 register are set to “01b” (memory expansion mode) or “11b” (microprocessor mode)
in a program during single-chip mode, the PU11 bit becomes “1”.
5. The values after hardw are reset is as follow s:
• 00000000b w hen input on CNVSS pin is “L”
• 00000010b w hen input on CNVSS pin is “H”
The values after softw are reset is as follow s:
• 00000000b w hen PM01 to PM00 bits are “00b” (single-chip mode)
• 00000010b w hen PM01 to PM00 bits are “01b” (memory expansion mode) or “11b” (microprocessor mode)
Figure 18.9 PUR0 to PUR1 Registers
Rev.1.22 Mar 29, 2007 Page 190 of 291
REJ09B0179-0122