Overview - Hitachi F-ZTAT H8/3039 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

7.3 Port 2

7.3.1 Overview

Port 2 is an 8-bit input/output port with the pin configuration shown in figure 7-5. Pin functions
differ according to operation mode.
In modes 1 and 3 (expanded mode with on-chip ROM disabled), port 2 consists of address bus
output pins (A
to A
15
port 2 data direction register (P2DDR) can designate pins for address bus output (A
generic input. In modes 6 and 7 (single-chip mode), port 2 is a generic input/output port.
Port 2 has software-programmable built-in pull-up transistors. 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 mode 5 (expanded mode with on-chip ROM enabled), settings in the
8
Port 2 pins
Modes 1 and 3
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 7-5 Port 2 Pin Configuration
Modes 5
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
to A
) or
15
8
Mode 6 and 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
139

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents