Renesas M16C FAMILY Hardware Manual page 148

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

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
Port Pi direction register (i=0, 1, 3, 4)
b7
b6
b5
b4
b3
Notes:
1. The PD0 register must be written to by the next instruction after setting the PRC2 bit in the PRCR
register to "1" (write enabled).
2. Nothing is assigned to the PD3_4 to PD3_6 bits in the PD3 register.
When writing to the PD3_4 to PD3_6 bits, write "0" (input mode). When read, its content is "0".
3. Nothing is assigned to the PD4_0 to PD4_4, PD4_6 and PD4_7 bits in the PD4 register.
When writing to the PD4_0 to PD4_4, PD4_6 and PD4_7 bits, write "0" (input mode). When read,
its content is "0".
Figure 15.7 PD0 Register, PD1 Register, PD3 Register, and PD4 Register
Port Pi register (i=0, 1, 3, 4)
b7
b6
b5
b4
b3
Notes:
1. Nothing is assigned to the P3_4 to P3_6 bits in the P3 register.
When writing to the P3_4 to P3_6 bits, write "0" ("L" level). When read, its content is "0".
2. Nothing is assigned to the P4_0 to P4_4 bits in the P4 register.
When writing to the P4_0 to P4_4 bits, write "0" ("L" level). When read, its content is "0".
Figure 15.8 P0 Register to P4 Register
Rev.0.91
2003 Sep 08
Symbol
PD0
b2
b1
b0
PD1
PD3
PD4
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
Symbol
P0
b2
b1
b0
P1
P3
P4
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
page 138 of 184
1, 2, 3
Address
00E2
16
00E3
16
00E7
16
00EA
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
4
direction bit
5
direction bit
6
direction bit
7
Address
00E0
16
00E1
16
00E5
16
00E8
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
7
15. Programmable I/O Ports
15. Programmable I/O Ports
After reset
00
16
00
16
00
16
00
16
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
After reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Function
RW
RW
RW
RW
RW
RW
RW
RW
(i = 0, 1, 3, 4)
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents