10.7
Port 8
Port 8 is a 6-bit I/O port that also has other functions. The port 8 has the following registers.
• Port 8 data direction register (P8DDR)
• Port 8 data register (P8DR)
• Port 8 register (PORT8)
10.7.1
Port 8 Data Direction Register (P8DDR)
The individual bits of P8DDR specify input or output for the pins of port 8.
P8DDR cannot be read; if it is, an undefined value will be read.
Bit
Bit Name
7
—
6
—
5
P85DDR
4
P84DDR
3
P83DDR
2
P82DDR
1
P81DDR
0
P80DDR
Initial Value
R/W
0
—
0
—
0
W
0
W
0
W
0
W
0
W
0
W
Description
Reserved
These bits are always read as 0 and cannot be
modified.
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port
1 pin an output pin, while clearing this bit to 0 makes
the pin an input pin.
Rev. 1.0, 09/01, page 445 of 904