Renesas M16C/29 Series Hardware Manual page 337

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

Advertisement

M16C/29 Group
Port Pi register (i=0 to 3, 6 to 8 and 10) (Note)
b7
b6
b5
b4
b3
b2
Note: Ports must be enabled using the PACR
In 80 pin version set PACR2, PACR1, PACR0 to "011
In 64 pin version set PACR2, PACR1, PACR0 to "010
Port P9 register
b7
b6
b5
b4
b3
b2
Note1: Ports must be enabled using the PACR
In 80 pin version set PACR2, PACR1, PACR0 to "011
In 64 pin version set PACR2, PACR1, PACR0 to "010
Note2: Nothing is assigned. In an attempt to write t o this bit, write "0".
The value if read turns out to be "0".
Figure 19.2.1. P0, P1, P2, P3, P6, P7, P8, P9, and P10 Registers
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Symbol
P0 to P3
03E0
b1
b0
P6 to P8
03EC
P10
03F4
Bit symbol
Pi_0
Port Pi
0
Pi_1
Port Pi
1
Pi_2
Port Pi
2
Pi_3
Port Pi
3
Pi_4
Port Pi
4
Pi_5
Port Pi
5
Pi_6
Port Pi
6
Pi_7
Port Pi
7
(Note1)
b1
b0
Symbol
P9
Bit symbol
P9_0
Port P9
0
P9_1
Port P9
1
P9_2
Port P9
2
P9_3
Port P9
3
(b4)
Nothing is assigned (Note 2)
P9_5
Port P9
5
P9_6
Port P9
6
P9_7
Port P9
7
page 317 of 402
Address
, 03E1
, 03E4
, 03E5
16
16
16
, 03ED
, 03F0
16
16
16
16
Bit name
bit
The pin level on any I/O port which is
set for input mode can be read by
bit
reading the corresponding bit in this
bit
register.
The pin level on any I/O port which is
bit
set for output mode can be controlled
bit
by writing to the corresponding bit in
this register
bit
0 : "L" level
bit
1 : "H" level (Note 1)
bit
(i = 0 to 3, 6 to 8 and 10)
"
2
"
2
Address
03F1
16
Bit name
bit
The pin level on any I/O port which is
bit
set for input mode can be read by
reading the corresponding bit in this
bit
register.
bit
The pin level on any I/O port which is
set for output mode can be controlled
by writing to the corresponding bit in
bit
this register (except for P8
bit
0 : "L" level
1 : "H" level
bit
"
2
"
2
19. Programmable I/O Ports
After reset
Indeterminate
16
Indeterminate
Indeterminate
Function
After reset
Indeterminate
Function
)
5
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
-
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents