P8DDR is initialized to H'E0 or H'F0 by a reset and in hardware standby mode. The reset value
depends on the operating mode. In software standby mode P8DDR retains its previous setting. If a
P8DDR bit is set to 1, the corresponding pin maintains its output state in software standby mode.
Port 8 Data Register (P8DR): P8DR is an 8-bit readable/writable register that stores output data
for pins P8
4
to P8
0
. When a bit in P8DDR is set to 1, if port 8 is read the value of the
corresponding P8DR bit is returned. When a bit in P8DDR is cleared to 0, if port 8 is read the
corresponding pin level is read.
Bits 7 to 5 are reserved. They cannot be modified and always are read as 1.
P8DR is initialized to H'E0 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
—
1
—
4
P8
0
R/W
4
3
P8
0
R/W
3
2
P8
0
R/W
2
1
P8
0
R/W
1
0
P8
0
R/W
0
Reserved bits
Port 8 data 4 to 0
These bits store data
for port 8 pins
269
www.DataSheet4U.com