Datasheet

Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 248 of 1130
REJ09B0327-0400
Port 6 Data Register (P6DR)
7
P67DR
0
R/W
6
P66DR
0
R/W
5
P65DR
0
R/W
4
P64DR
0
R/W
3
P63DR
0
R/W
0
P60DR
0
R/W
2
P62DR
0
R/W
1
P61DR
0
R/W
Bit
Initial value
Read/Write
P6DR is an 8-bit readable/writable register that stores output data for the port 6 pins (P67 to P60).
If a port 6 read is performed while P6DDR bits are set to 1, the P6DR values are read directly,
regardless of the actual pin states. If a port 6 read is performed while P6DDR bits are cleared to 0,
the pin states are read.
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 MOS Pull-Up Control Register (KMPCR)
Bit 76543210
KM7PCR KM6PCR KM5PCR KM4PCR KM3PCR KM2PCR KM1PCR KM0PCR
Initial value00000000
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
KMPCR is an 8-bit readable/writable register that controls the port 6 built-in MOS input pull-ups
on a bit-by-bit basis.
The MOS input pull-up is turned on when a KMPCR bit is set to 1 while the corresponding
P6DDR bit is cleared to 0 (input port setting).
KMPCR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.