Rev. 1.0, 03/01, page 104 of 280
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.
P84/FTIOD
P83/FTIOC
P82/FTIOB
P81/FTIOA
P80/FTCI
Port 8
Figure 9-5 Port 8 Pin Configuration
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
Description
7
6
5
−
−
−
0
0
0
−
−
−
Reserved
These bits are always read as 0 and cannot be modified.
4
3
2
1
0
PCR84
PCR83
PCR82
PCR81
PCR80
0
0
0
0
0
W
W
W
W
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
corresponding pin an output port, while clearing the bit to 0
makes the pin an input port.
Содержание H8/3670F-ZTAT HD64F3670
Страница 2: ...Rev 2 0 03 01 page ii of xxiv ...
Страница 4: ...Rev 2 0 03 01 page iv of xxiv ...
Страница 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Страница 20: ...Rev 1 0 03 01 page xx of xxiv ...
Страница 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Страница 78: ...Rev 1 0 03 01 page 54 of 280 ...
Страница 112: ...Rev 1 0 03 01 page 88 of 280 ...
Страница 248: ...Rev 1 0 03 01 page 224 of 280 ...