English
Language : 

M16C30P_07 Datasheet, PDF (207/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 2
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PUR2
03FEh
00h
Bit Symbol
Bit Name
Function
RW
PU20 P8_0 to P8_3 Pull-Up
0 : Not pulled high
RW
PU21 P8_4 to P8_7 Pull-Up (2)
1 : Pulled high (1)
RW
PU22 P9_0 to P9_3 Pull-Up
RW
PU23 P9_4 to P9_7 Pull-Up
RW
PU24 P10_0 to P10_3 Pull-Up
RW
PU25 P10_4 to P10_7 Pull-Up
RW
—
Nothing is assigned. When w rite, set to “0”.
(b7-b6) When read, their contenta are “0”.
—
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. The P8_5 pin does not have pull-up.
Port Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
PCR
03FFh
00h
Bit Symbol
Bit Name
Function
RW
Port P1 Control Bit
Operation performed w hen the P1 register is read
0 : When the port is set for input, the input levels of
PCR0
P1_0 to P1_7 pins are read. When set for output,
the port latch is read.
RW
1 : The port latch is read regardless of w hether the
port is set for input or output.
—
Nothing is assigned. When w rite, set to “0”.
(b7-b1) When read, their contents are “0”.
—
Figure 18.10 PUR2 and PCR Registers
Rev.1.22 Mar 29, 2007 Page 191 of 291
REJ09B0179-0122