154
9.5
Port 7
9.5.1
Overview
Port 7 is a 3-bit I/O port, configured as shown in figure 9.4.
P76/TMOV
P75/TMCIV
P74/TMRIV
Port 7
Figure 9.4 Port 7 Pin Configuration
9.5.2
Register Configuration and Description
Table 9.7 shows the port 7 register configuration.
Table 9.7
Port 7 Registers
Name
Abbrev.
R/W
Initial Value
Address
Port data register 7
PDR7
R/W
H'8F
H'FFDA
Port control register 7
PCR7
W
H'00
H'FFEA
9.5.3
Port Data Register 7 (PDR7)
Bit
7
6
5
4
3
2
1
0
—
P76
P75
P74
—
—
—
—
Initial value
1
*
0
0
0
1
*
1
*
1
*
1
*
Read/Write
—
R/W
R/W
R/W
—
—
—
—
Note:
*
Bits 7 and 3 to 0 are reserved; they are always read as 1 and cannot be modified.
PDR7 is an 8-bit register that stores data for port 7 pins P76 to P74. If port 7 is read while PCR7
bits are set to 1, the values stored in PDR7 are read, regardless of the actual pin states. If port 7 is
read while PCR7 bits are cleared to 0, the pin states are read.
Upon reset, PDR7 is initialized to H'8F.
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...