Port 7 - Hitachi H8/329 Series Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

5.8 Port 7

Port 7 is an 8-bit input port that also provides the analog input pins for the A/D converter module.
The pin functions are the same in both the expanded and single-chip modes.
Table 5-17 lists the pin functions. Table 5-18 describes the port 7 data register, which simply
consists of connections of the port 7 pins to the internal data bus. Figure 5-19 shows a schematic
diagram of port 7.
Table 5-17. Port 7 Pin Functions (Modes 1 to 3)
Usage
Pin functions
I/O port
P7
Analog input
AN
Table 5-18. Port 7 Register
Name
Port 7 data register
Port 7 Data Register (P7DR)—H'FFBE
Bit
7
P7
7
Initial value
*
Read/Write
R
Note: * Depends on the levels of pins P7
P7n
RP7: Read port 7
n = 0 to 7
P7
P7
0
1
2
AN
AN
0
1
2
Abbreviation
Read/Write
P7DR
R
6
5
P7
P7
6
5
*
*
R
R
P7
7 to
RP7
Figure 5-19. Port 7 Schematic Diagram
P7
P7
P7
3
4
5
AN
AN
AN
3
4
Initial value
Undetermined
4
3
2
P7
P7
P7
4
3
*
*
*
R
R
R
.
0
111
P7
P7
6
7
AN
AN
5
6
7
Address
H'FFBE
1
0
P7
P7
2
1
0
*
*
R
R
A/D converter
module
Analog input

Advertisement

Table of Contents
loading

Table of Contents