155
9.5.4
Port Control Register 7 (PCR7)
Bit
7
6
5
4
3
2
1
0
—
PCR76
PCR75
PCR74
—
—
—
—
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
W
W
W
—
—
—
—
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
0000
Not 0000
PCR76
0
1
*
Pin function
P76 input pin P76 output pin
TMOV output pin
P75/TMCIV
The pin function depends on bit PCR75 in PCR7.
PCR75
0
1
Pin function
P75 input pin
P75 output pin
TMCIV input pin
P74/TMRIV
The pin function depends on bit PCR74 in PCR7.
PCR74
0
1
Pin function
P74 input pin
P74 output pin
TMRIV input pin
Note:
*
Don’t care
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...