Port 1; Overview; Register Descriptions - Hitachi H8/3022 Hardware Manual

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

7.2 Port 1

7.2.1 Overview

Port 1 is an 8-bit input/output port with the pin configuration shown in figure 7-1. The pin
functions differ between the expanded modes with on-chip ROM disabled, expanded modes with
on-chip ROM enabled, and single-chip mode. In modes 1, 3 (expanded modes with on-chip ROM
disabled), they are address bus output pins (A
In modes 5 and 6 (expanded modes with on-chip ROM enabled), settings in the port 1 data
direction register (P1DDR) can designate pins for address bus output (A
In mode 7 (single-chip mode), port 1 is a generic input/output port.
Pins in port 1 can drive one TTL load and a 90-pF capacitive load. They can also drive a
Darlington transistor pair.
Port 1

7.2.2 Register Descriptions

Table 7-2 summarizes the registers of port 1.
Port 1 pins
Modes 1 and 3
P1 /A
A (output)
7
7
7
P1 /A
A (output)
6
6
6
P1 /A
A (output)
5
5
5
P1 /A
A (output)
4
4
4
P1 /A
A (output)
3
3
3
P1 /A
A (output)
2
2
2
P1 /A
A (output)
1
1
1
P1 /A
A (output)
0
0
0
Figure 7-1 Port 1 Pin Configuration
to A
).
7
0
Modes 5 and 6
P1 (input)/A (output)
7
P1 (input)/A (output)
6
P1 (input)/A (output)
5
P1 (input)/A (output)
4
P1 (input)/A (output)
3
P1 (input)/A (output)
2
P1 (input)/A (output)
1
P1 (input)/A (output)
0
to A
) or generic input.
7
0
Mode 7
P1 (input/output)
7
7
P1 (input/output)
6
6
P1 (input/output)
5
5
P1 (input/output)
4
4
P1 (input/output)
3
3
P1 (input/output)
2
2
P1 (input/output)
1
1
P1 (input/output)
0
0
131

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents