English
Language : 

HD6475348R Datasheet, PDF (190/487 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
9.8 Port 7
9.8.1 Overview
Port 7 is an 8-bit input/output port with the pin configuration shown in figure 9-19. Its pins also
carry input and output signals for the on-chip free-running timers (FRT1, FRT2, and FRT3), and
two input signals for the on-chip 8-bit timer.
Port 7 has Schmitt inputs. Outputs from port 7 can drive one TTL load and a 30 pF capacitive
load. They can also drive a Darlington transistor pair.
P77 (input/output) / FTOA1 (output)
P76 (input/output) / FTOB3 (output) / FTCI3 (input)
P75 (input/output) / FTOB2 (output) / FTCI2 (input)
Port
P74 (input/output) / FTOB1 (output) / FTCI1 (input)
7
P73 (input/output) / FTI3 (input) /TMRI (input)
P72 (input/output) / FTI2 (input)
P71 (input/output) / FTI1 (input)
P70 (input/output) / TMCI (input)
Figure 9-19 Pin Functions of Port 7
9.8.2 Port 7 Registers
Register Configuration: Table 9-13 lists the registers of port 7.
Table 9-13 Port 7 Registers
Name
Port 7 data direction register
Port 7 data register
Abbreviation
P7DDR
P7DR
Read/Write
W
R/W
Initial Value
H'00
H'00
Address
H'FE8C
H'FE8E
1. Port 7 Data Direction Register (P7DDR)—H'FE8C
Bit
7
6
5
4
3
2
1
0
Initial value
P77DDR P76DDR P75DDR P74DDR P73DDR P72DDR P71DDR P70DDR
0
0
0
0
0
0
0
0
Read/Write
W
W
W
W
W
W
W
W
P7DDR is an 8-bit register that selects the direction of each pin in port 7. A pin functions as an
output pin if the corresponding bit in P7DDR is set to 1, and as an input pin if the bit is cleared to 0.
173