9.5.4
Port Control Register 7 (PCR7)
Bit
Initial value
Read/Write
PCR7 is an 8-bit register for controlling whether each of the port 7 pins P76 to P74 functions as an
input pin or output pin. Setting a PCR7 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin.
Upon reset, PCR7 is initialized to H'00.
PCR7 is a write-only register, which always reads as all 1s.
9.5.5
Pin Functions
Table 9.8 shows the port 7 pin functions.
Table 9.8
Port 7 Pin Functions
Pin
Pin Functions and Selection Method
P76/TMOV
The pin function depends on bit PCR76 in PCR7 and bits OS3 to OS0 in
TCSRV.
OS3 to OS0
PCR76
Pin function
P75/TMCIV
The pin function depends on bit PCR75 in PCR7.
PCR75
Pin function
P74/TMRIV
The pin function depends on bit PCR74 in PCR7.
PCR74
Pin function
Note: * Don't care
7
6
—
PCR76
PCR75
0
0
—
W
P76 input pin P76 output pin
5
4
PCR74
0
0
W
W
0000
0
1
0
P75 input pin
TMCIV input pin
0
P74 input pin
TMRIV input pin
3
2
—
—
0
0
—
—
Not 0000
TMOV output pin
P75 output pin
P74 output pin
1
0
—
—
0
0
—
—
*
1
1
155