Renesas M16C/26A Series Hardware Manual page 242

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 direction register (i=6 to 8, and 10) (1)
b7
b6
b5
b4
b3
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 direction register (1)
b7
b6
b5
b4
b3
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 direction register (1,2)
b7
b6
b5
b4
b3
NOTE:
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. Ports must be enabled using the PACR register.
Figure 16.1.1. PD1, PD6, PD7, PD8, PD9, and PD10 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
Symbol
PD6 to PD8
b2
b1
b0
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
b2
b1
b0
Symbol
PD1
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.
PD1_5
Port P1
PD1_6
Port P1
PD1_7
Port P1
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".
(B7-b4)
The value, if read, turns out to be indeterminate.
page 223
f o
3
2
9
6
C
2 /
6
) T
Address
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 = 6 to 8, and 10)
direction bit
4
direction bit
5
direction bit
6
direction bit
7
"
2
"
2
Address
03E3
16
Bit name
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
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
16. Programmable I/O Ports
After reset
00
16
16
00
16
Function
After reset
00
Function
After reset
XXXX0000
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
16
RW
RW
RW
RW
2
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents