Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 175 of 692
REJ09B0309-0200
9.5.1 Port Data Register 6 (PDR6)
PDR6 is a register that stores data of port 6.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
P67
P66
P65
P64
P63
P62
P61
P60
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
If port 6 is read while PCR6 bits are set to 1, the values
stored in PDR6 are read, regardless of the actual pin
states. If port 6 is read while PCR6 bits are cleared to 0,
the pin states are read.
9.5.2 Port Control Register 6 (PCR6)
PCR6 selects inputs/outputs in bit units for pins of
port 6.
Bit Bit Name
Initial
Value
R/W Description
7
6
5
4
3
2
1
0
PCR67
PCR66
PCR65
PCR64
PCR63
PCR62
PCR61
PCR60
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Setting a PCR6 bit to 1 makes the corresponding pin an
output pin, while clearing the bit to 0 makes the pin an
input pin. The settings in PCR6 and in PDR6 are valid
when the corresponding pin is designated as a general
I/O pin.
PCR6 is a write-only register. These bits are always
read as 1.