Table of Contents

Advertisement

8.2
Port 4
8.2.1

Overview

Port 4 is an 8-bit input/output port with the pin configuration shown in figure 8.1.
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.
Port 4 has software-programmable built-in pull-up transistors.
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
244
Port 4 pins
P4 /D
P4 (input/output)/D
7
7
P4 /D
P4 (input/output)/D
6
6
P4 /D
P4 (input/output)/D
5
5
P4 /D
P4 (input/output)/D
4
4
P4 /D
P4 (input/output)/D
3
3
P4 /D
P4 (input/output)/D
2
2
P4 /D
P4 (input/output)/D
1
1
P4 /D
P4 (input/output)/D
0
0
Figure 8.1 Port 4 Pin Configuration
(input/output)
7
7
(input/output)
6
6
(input/output)
5
5
(input/output)
4
4
(input/output)
3
3
(input/output)
2
2
(input/output)
1
1
(input/output)
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3007Hd6413006Hd6413007

Table of Contents