Section 7 I/O Ports; Overview; Table 7.1 Port Functions - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

7.1

Overview

The H8/3062 Series has 10 input/output ports (ports 1, 2, 3, 4, 5, 6, 8, 9, A, and B) and one input-
only port (port 7). Table 7.1 summarizes the port functions. The pins in each port are multiplexed
as shown in table 7.1.
Each port has a data direction register (DDR) for selecting input or output, and a data register
(DR) for storing output data. In addition to these registers, ports 2, 4, and 5 have an input pull-up
control register (PCR) for switching input pull-up transistors on and off.
Ports 1 to 6 and port 8 can drive one TTL load and a 90-pF capacitive load. Ports 9, A, and B can
drive one TTL load and a 30-pF capacitive load. Ports 1 to 6 and 8 to B can drive a darlington
pair. Ports 1, 2, and 5 can drive LEDs (with 10-mA current sink). Pins P8
Schmitt-trigger input circuits.
For block diagrams of the ports see appendix C, I/O Port Block Diagrams.
Table 7.1
Port Functions
Port
Description
Port 1 • 8-bit I/O
P1
port
A
• Can drive
LEDs
Port 2 • 8-bit I/O
P2
port
A
• Built-in
input
pull-up
transistors
• Can drive
LEDs
Port 3 • 8-bit I/O
P3
port
D

Section 7 I/O Ports

Pins
Mode 1 Mode 2 Mode 3 Mode 4
to P1
/
Address output pins (A
7
0
to A
7
0
to P2
/
Address output pins (A
7
0
to A
15
8
to P3
/
Data input/output (D
7
0
to D
15
8
Expanded Modes
to A
)
Address output
7
0
(A
7
generic input
DDR = 0:
generic input
DDR = 1:
address output
to A
)
Address output
15
8
(A
15
generic input
DDR = 0:
generic input
DDR = 1:
address output
to D
)
15
8
to P8
, PA
to PA
2
0
7
Single-Chip
Modes
Mode 5
Mode 6 Mode 7
Generic input/
to A
) and
output
0
Generic input/
to A
) and
output
8
Generic input/
output
have
0
165

Advertisement

Table of Contents
loading

Table of Contents