Renesas M16C/29 Series Hardware Manual page 339

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Port control register
b7
b6
b5
b4
b3
Figure 19.4.1. PCR Register
Pin assignment control register (Note)
b7
b6
b5
b4
b3
Note : Set bit 2 of protect register (address 000A
Figure 19.5.1. PACR Register
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
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".
b2
b1
b0
Symbpl
PACR
Bit symbol
Pin enabling bit
PACR0
PACR1
PACR2
Reserved bits
(b6-b3)
UART1 pin remapping bit
U1MAP
page 319 of 402
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 P10 to P17
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.
In an attempt to write to these bits,
Address
After reset
025D
00000000
16
Bit name
010 : 64 pin
011 : 80 pin
All other values are reserved. Do
not use.
Nothing is assigned.
to write to these bits, write "0".
The value, if read, turns out to
be "0".
UART1 pins assigned to
0 : P6
to P6
7
1 : P7
to P7
3
) to "1" before writing to PACR.
16
19. Programmable I/O Ports
Function
RW
RW
2
Function
RW
RW
RW
RW
In an attempt
RW
4
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents