Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 390 of 1268
REJ09B0220-0600
Port 6 Data Register (P6DR)
Bit : 7 6 5 4 3 2 1 0
P67DR P66DR P65DR P64DR P63DR P62DR P61DR P60DR
Initial value : 0 0 0 0 0 0 0 0
R/W : R/W R/W R/W R/W R/W R/W R/W R/W
P6DR is an 8-bit readable/writable register that stores output data for the port 6 pins (P6
7
to P6
0
).
P6DR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Port 6 Register (PORT6)
Bit : 7 6 5 4 3 2 1 0
P67 P66 P65 P64 P63 P62 P61 P60
Initial value : —
*
—
*
—
*
—
*
—
*
—
*
—
*
—
*
R/W : R R R R R R R R
Note: * Determined by state of pins P6
7
to P6
0
.
PORT6 is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port 6 pins (P6
7
to P6
0
) must always be performed on P6DR.
If a port 6 read is performed while P6DDR bits are set to 1, the P6DR values are read. If a port 6
read is performed while P6DDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORT6 contents are determined by the pin states, as
P6DDR and P6DR are initialized. PORT6 retains its prior state in software standby mode.