Datasheet

Section 9 I/O Ports
Rev. 3.00 Sep. 14, 2006 Page 128 of 408
REJ09B0105-0300
9.4 Port 7
Port 7 is a general I/O port also functioning as a timer V I/O pin. Each pin of the port 7 is shown
in figure 9.4. The register setting of TCSRV in timer V has priority for functions of the
P76/TMOV pin. The pins, P75/TMCIV and P74/TMRIV, are also functioning as timer V input
ports that are connected to the timer V regardless of the register setting of port 7.
P76/TMOV
P75/TMCIV
P74/TMRIV
Port 7
Figure 9.4 Port 7 Pin Configuration
Port 7 has the following registers.
Port control register 7 (PCR7)
Port data register 7 (PDR7)
9.4.1 Port Control Register 7 (PCR7)
PCR7 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 7.
Bit Bit Name
Initial
Value R/W Description
7 Reserved
6
5
4
PCR76
PCR75
PCR74
0
0
0
W
W
W
Setting a PCR7 bit to 1 makes the corresponding pin an
output port, while clearing the bit to 0 makes the pin an
input port. Note that the TCSRV setting of the timer V has
priority for deciding input/output direction of the
P76/TMOV pin.
3 to 0 Reserved