Port Control Register - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C

Port Control Register

b7
b6
b5
b4
b3
Figure 17.9 PCR Register
Pin Assignment Control Register
b7
b6
b5
b4
b3
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
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
b2
b1
b0
Symbpl
PCR
Bit Symbol
PCR0
Port P1 control bit
Nothing is assigned.
(b7-b1)
content is "0".
(1)
b2
b1
b0
Symbpl
PACR
Bit Symbol
Pin enabling bit
PACR0
PACR1
PACR2
Reserved bits
(b6-b3)
UART1 pin remapping bit
U1MAP
page 292
f o
3
8
5
Address
After Reset
03FF
00
16
16
Bit Name
Operation performed when the P1
register is read
0: When the port is set for input,
the input levels of P1
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.
When write, set to "0". When read, its
Address
After Reset
025D
00
16
16
Bit Name
010 : 64 pin
011 : 80 pin
All other values are reserved. Do
not use.
Nothing is assigned.
set to "0". When read, its
content is "0".
UART1 pins assigned to
0 : P6
1 : P7
17. Programmable I/O Ports
Function
to P1
0
7
Function
When write,
to P6
7
4
to P7
3
0
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents