Hitachi H8/3048 Hardware Manual page 262

Single-chip microcomputer
Table of Contents

Advertisement

9.3 Port 2
www.DataSheet4U.com
9.3.1 Overview
Port 2 is an 8-bit input/output port with the pin configuration shown in figure 9-2. The pin
functions differ according to the operating mode.
In modes 1 to 4 (expanded modes with on-chip ROM disabled), port 2 consists of address bus
output pins (A
to A
15
in the port 2 data direction register (P2DDR) can designate pins for address bus output (A
or generic input. In mode 7 (single-chip mode), port 2 is a generic input/output port.
When DRAM is connected to area 3, A
write cycles. For details see section 7, Refresh Controller.
Port 2 has software-programmable built-in pull-up MOS. Pins in port 2 can drive one TTL load
and a 90-pF capacitive load. They can also drive a darlington transistor pair.
Port 2
). In modes 5 and 6 (expanded modes with on-chip ROM enabled), settings
8
and A
9
Port 2 pins
Modes 1 to 4
P2 /A
A
(output)
7
15
15
P2 /A
A
(output)
6
14
14
P2 /A
A
(output)
5
13
13
A
(output)
P2 /A
4
12
12
P2 /A
A
(output)
3
11
11
P2 /A
A
(output)
2
10
10
P2 /A
A (output)
1
9
9
P2 /A
A (output)
0
8
8
Figure 9-2 Port 2 Pin Configuration
output row and column addresses in read and
8
Modes 5 and 6
P2 (input)/A
(output)
7
15
P2 (input)/A
(output)
6
14
P2 (input)/A
(output)
5
13
P2 (input)/A
(output)
4
12
P2 (input)/A
(output)
3
11
P2 (input)/A
(output)
2
10
P2 (input)/A
(output)
1
9
P2 (input)/A
(output)
0
8
249
to A
)
15
8
Mode 7
P2 (input/output)
7
P2 (input/output)
6
P2 (input/output)
5
P2 (input/output)
4
P2 (input/output)
3
P2 (input/output)
2
P2 (input/output)
1
P2 (input/output)
0

Advertisement

Table of Contents
loading

Table of Contents