Port 2 - Hitachi H8/329 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

P1
n

5.3 Port 2

Port 2 is an 8-bit input/output port that also provides the high bits of the address bus. The function
of port 2 depends on the MCU mode as indicated in table 5-5.
Table 5-5. Functions of Port 2
Mode 1
Address bus (High)
(A
to A
)
15
8
Note: * Depending on the bit settings in the data direction register: 0—input pin; 1—address pin
Hardware standby
Mode 3
Mode 1 or 2
Figure 5-1. Port 1 Schematic Diagram
Mode 2
Input port or
Address bus (High)
(A
to A
)*
15
8
80
Reset
R
Q
P1
PCR
n
C
WP1P
RP1P
Mode 1
Reset
S
R
Q
P1
DDR
n
C
WP1D
Reset
R
Q
P1
DR
n
C
WP1
RP1
WP1P:
Write Port 1 PCR
WP1D:
Write Port 1 DDR
WP1:
Write Port 1
RP1P :
Read Port 1 PCR
RP1:
Read Port 1
n = 0 to 7
Note:
*
Set-priority
Mode 3
Input/output port
D
D
*
D

Advertisement

Table of Contents
loading

Table of Contents