Renesas M16C/26A Series Hardware Manual page 245

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
Port control register
b7
b6
b5
b4
b3
Figure 16.4.1. PCR Register
Pin Assignment Control Register
b7
b6
b5
b4
NOTES:
1. Set the PACR register by the next instruction after setting the PRC2 bit in the PRCR register to "1"(write
enable).
Figure 16.5.1. PACR Register
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
b2
b1
b0
Symbpl
PCR
Bit symbol
PCR0
Port P1 control bit
Nothing is assigned.
(b7-b1)
write "0". The value, if read, turns out to be "0".
b3
b2
b1
b0
Symbpl
PACR
Bit Symbol
Pin enabling bit
PACR0
PACR1
PACR2
Reserved bits
(b6-b3)
UART1 pin remapping bit
U1MAP
page 226
f o
3
2
9
6
C
2 /
6
) T
Address
After reset
03FF
16
Bit name
Operation performed when the P1
register is read
0: When the port is set for input,
1: The port latch is read
In an attempt to write to these bits,
(1)
Address
After Reset
025D
00
16
Bit Name
001 : 42 pin
100 : 48 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
16. Programmable I/O Ports
00
16
Function
the input levels of P10 to P17
pins are read. When set for
output, the port latch is read.
regardless of whether the port
is set for input or output.
16
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:

M16c/26aM16c/26bM16c/26t

Table of Contents