Hitachi H8/3048 Hardware Manual page 268

Single-chip microcomputer
Table of Contents

Advertisement

9.5 Port 4
www.DataSheet4U.com
9.5.1 Overview
Port 4 is an 8-bit input/output port with the pin configuration shown in figure 9-4. The pin
functions differ according to the operating mode.
In modes 1 to 6 (expanded modes), when the bus width control register (ABWCR) designates
areas 0 to 7 all as 8-bit-access areas, the chip operates in 8-bit bus mode and port 4 is a generic
input/output port. When at least one of areas 0 to 7 is designated as a 16-bit-access area, the chip
operates in 16-bit bus mode and port 4 becomes part of the data bus. In mode 7 (single-chip
mode), port 4 is a generic input/output port.
Port 4 has software-programmable built-in pull-up MOS.
Pins in port 4 can drive one TTL load and a 90-pF capacitive load. They can also drive a
darlington transistor pair.
Port 4
Port 4 pins
Modes 1 to 6
P4 /D
P4 (input/output)/D
7
7
7
P4 /D
P4 (input/output)/D
6
6
6
P4 /D
P4 (input/output)/D
5
5
5
P4 /D
P4 (input/output)/D
4
4
4
P4 /D
P4 (input/output)/D
3
3
3
P4 /D
P4 (input/output)/D
2
2
2
P4 /D
P4 (input/output)/D
1
1
1
P4 /D
P4 (input/output)/D
0
0
0
Figure 9-4 Port 4 Pin Configuration
255
Mode 7
(input/output)
P4 (input/output)
7
7
(input/output)
P4 (input/output)
6
6
(input/output)
P4 (input/output)
5
5
(input/output)
P4 (input/output)
4
4
(input/output)
P4 (input/output)
3
3
(input/output)
P4 (input/output)
2
2
(input/output)
P4 (input/output)
1
1
(input/output)
P4 (input/output)
0
0

Advertisement

Table of Contents
loading

Table of Contents