English
Language : 

M16C28 Datasheet, PDF (312/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
17. Programmable I/O Ports
Port Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbpl
PCR
Address
03FF16
After Reset
0016
Bit Symbol
PCR0
(b7-b1)
Bit Name
Function
RW
Port P1 control bit
Operation performed when the P1
register is read
0: When the port is set for input,
the input levels of P1 0 to P17 RW
pins are read. When set for
output, the port latch is read.
1: The port latch is read
regardless of whether the port
is set for input or output.
Nothing is assigned. When write, set to "0". When read, its
content is "0".
Figure 17.9 PCR Register
Pin Assignment Control Register (1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbpl
PACR
Address
025D16
After Reset
0016
Bit Symbol
Bit Name
PACR0 Pin enabling bit
PACR1
PACR2
Reserved bits
(b6-b3)
Function
RW
010 : 64 pin
RW
011 : 80 pin
All other values are reserved. Do
RW
not use.
RW
Nothing is assigned. When write,
set to “0”. When read, its
content is “0”.
UART1 pin remapping bit UART1 pins assigned to
U1MAP
0 : P67 to P64
RW
1 : P73 to P70
NOTE:
1. Set the PACR register by the next instruction after setting the PRC2 bit in the PRCR register to "1"(write
enable).
Figure 17.10 PACR Register
Rev. 2.00 Jan. 31, 2007 page 292 of 385
REJ09B0047-0200