Port 8; Port Control Register 8(Pcr8) - Hitachi H8/3672 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

9.5

Port 8

Port 8 is a general I/O port also functioning as a Timer W I/O pin. Each pin of the port 8 is shown
in figure 9-5. The register setting of the timer W has priority for functions of the pins P84/FTIOD,
P83/FTIOC, P82/FTIOB, and P81/FTIOA. P80/FTCI also functions as a timer W input port that is
connected to the timer W regardless of the register setting of port 8.
Port 8 has the following registers. For details on register addresses and register states during each
process, refer to appendix B, Internal I/O Registers.

• Port control register 8(PCR8)

• Port data register 8(PDR8)
9.5.1
Port Control Register 8(PCR8)
PCR8 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 8.
Bit Bit Name
Initial Value R/W
7
0
6
0
5
0
4
PCR84
0
3
PCR83
0
2
PCR82
0
1
PCR81
0
0
PCR80
0
Rev. 1.0, 03/01, page 104 of 280
Port 8
Figure 9-5 Port 8 Pin Configuration
Description
Reserved
These bits are always read as 0 and cannot be modified.
W
When each of the port 8 pins P87 to P80 functions as an
general I/O port, setting a PCR8 bit to 1 makes the
W
corresponding pin an output port, while clearing the bit to 0
W
makes the pin an input port.
W
W
P84/FTIOD
P83/FTIOC
P82/FTIOB
P81/FTIOA
P80/FTCI

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3672f-ztat hd64f3672H8/3670f-ztat hd64f3670

Table of Contents