155
7.7 Port 7
7.7.1 Overview
Port 7 is an 8-bit input port that is also used for analog input to the A/D converter. The pin
functions are the same in all operating modes. Figure 7-19 shows the pin configuration of port 7.
Port 7
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
P7 (input)/AN (input)
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
Port 7 pins
Figure 7-19 Port 7 Pin Configuration
7.7.2 Register Description
Table 7-10 summarizes the port 7 register. Port 7 is an input-only port, so it has no data direction
register.
Table 7-10 Port 7 Data Register
Address
*
Name
Abbreviation
R/W
Initial Value
H'FFCE
Port 7 data register
P7DR
R
Undetermined
Note:
*
Lower 16 bits of the address.