Renesas M16C/26A Series Hardware Manual page 243

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 Pi register (i=6 to 8 and 10)
b7
b6
b5
b4
NOTE:
1. Ports must be enabled using the PACR register.
In 48-pin package, set PACR2, PACR1, PACR0 to "100
In 42-pin package, set PACR2, PACR1, PACR0 to "001
Port P1 register
b7
b6
b5
b4
NOTE:
1. Ports must be enabled using the PACR register.
In 48-pin package, set PACR2, PACR1, PACR0 to "100
In 42-pin package, set PACR2, PACR1, PACR0 to "001
Port P9 register
b7
b6
b5
b4
NOTE:
1. Ports must be enabled using the PACR register.
In 48-pin package, set PACR2, PACR1, PACR0 to "100
In 42-pin package, set PACR2, PACR1, PACR0 to "001
Figure 16.2.1. P1, P6, P7, P8, P9, and P10 Registers
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
(1)
Symbol
P6 to P8
b3
b2
b1
b0
P10
Bit symbol
Pi_0
Port Pi
Pi_1
Port Pi
Pi_2
Port Pi
Pi_3
Port Pi
Pi_4
Port Pi
Pi_5
Port Pi
Pi_6
Port Pi
Pi_7
Port Pi
(1)
b3
b2
b1
b0
Symbol
P1
Bit symbol
Nothing is assigned. In an attempt to write to this bit, write "0".
(b4-b0)
The value, if read, turns out to be indeterminate.
P1_5
Port P1
P1_6
Port P1
P1_7
Port P1
(1)
b3
b2
b1
b0
Symbol
P9
Bit symbol
P9_0
Port P9
P9_1
Port P9
P9_2
Port P9
P9_3
Port P9
Nothing is assigned. In an attempt to write to this bit, write "0".
(b7-b4)
The value, if read, turns out to be indeterminate.
page 224
f o
3
2
9
6
C
2 /
6
) T
Address
03EC
, 03ED
, 03F0
16
16
16
03F4
16
Bit name
bit
The pin level on any I/O port which is
0
set for input mode can be read by
bit
1
reading the corresponding bit in this
bit
2
register.
The pin level on any I/O port which is
bit
3
set for output mode can be controlled
bit
4
by writing to the corresponding bit in
this register
bit
5
0 : "L" level
bit
6
1 : "H" level
bit
(i = 6 to 8 and 10)
7
"
2
"
2
Address
03E1
16
Bit name
The pin level on any I/O port which is
set for input mode can be read by
bit
5
reading the corresponding bit in this
register.
The pin level on any I/O port which is
bit
6
set for output mode can be controlled
by writing to the corresponding bit in
this register
bit
7
0 : "L" level
1 : "H" level
"
2
"
2
Address
03F1
16
Bit name
The pin level on any I/O port which is
bit
set for input mode can be read by
0
reading the corresponding bit in this
register.
bit
1
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
2
this register
0 : "L" level
1 : "H" level
bit
3
"
2
"
2
16. Programmable I/O Ports
After reset
Indeterminate
Indeterminate
Function
RW
RW
RW
RW
RW
RW
RW
RW
(1)
RW
After reset
Indeterminate
RW
Function
RW
RW
RW
After reset
Indeterminate
RW
Function
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents