Renesas M16C FAMILY series Hardware Manual page 309

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 Pi Direction Register (i=0 to 3, 6 to 8, and 10)
b7
b6
b5
b4
b3
NOTES:
1. Set the PACR register.
In 80-/85- pin package, set PACR2, PACR1, PACR0 to "011
In 64-pin package, set PACR2, PACR1, PACR0 to "010
Port P9 Direction Register
b7
b6
b5
b4
b3
NOTES:
1. Make sure the PD9 register is written to by the next instruction after setting the PRC2 bit in the
PRCR register to "1"(write enabled).
2. Set the PACR register.
In 80-/85-pin package, set PACR2, PACR1, PACR0 to "011
In 64-pin package, set PACR2, PACR1, PACR0 to "010
Figure 17.6 PD0 to PD3 and PD6 to PD10 Registers
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
Symbol
PD0 to PD3
b2
b1
b0
PD6 to PD8
PD10
Bit Symbol
PDi_0
Port Pi
PDi_1
Port Pi
PDi_2
Port Pi
PDi_3
Port Pi
PDi_4
Port Pi
PDi_5
Port Pi
PDi_6
Port Pi
PDi_7
Port Pi
(1,2)
b2
b1
b0
Symbol
PD9
Bit Symbol
PD9_0
Port P9
PD9_1
Port P9
PD9_2
Port P9
PD9_3
Port P9
Nothing is assigned. In an attempt to write to this bit, write "0".
(b4)
The value, if read, turns out to be indeterminate.
PD9_5
Port P9
PD9_6
Port P9
PD9_7
Port P9
page 289
f o
3
8
5
(1)
Address
03E2
, 03E3
, 03E6
16
16
03EE
, 03EF
, 03F2
16
16
03F6
16
Bit Name
direction bit
0
0 : Input mode
direction bit
1
(Functions as an input port)
direction bit
2
1 : Output mode
(Functions as an output port)
direction bit
3
(i = 0 to 3, 6 to 8, and 10)
direction bit
4
direction bit
5
direction bit
6
direction bit
7
"
2
"
2
Address
03F3
16
Bit Name
direction bit
0
0 : Input mode
direction bit
1
(Functions as an input port)
direction bit
2
1 : Output mode
(Functions as an output port)
direction bit
3
direction bit
0 : Input mode
5
(Functions as an input port)
direction bit
1 : Output mode
6
(Functions as an output port)
direction bit
7
"
2
"
2
17. Programmable I/O Ports
After Reset
, 03E7
00
16
16
16
00
16
16
00
16
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
After Reset
00
16
RW
Function
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents