Datasheet

Section 9 I/O Ports
Rev. 2.00 Sep. 23, 2005 Page 117 of 444
REJ09B0068-0200
9.5.1 Port Control Register 6 (PCR6)
PCR6 selects inputs/outputs in bit units for pins to be used as general I/O ports 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
When each of the port 6 pins P67 to P60 functions as a
general I/O port, setting a PCR6 bit to 1 makes the
corresponding pin an output port, while clearing the bit
to 0 makes the pin an input port.
9.5.2 Port Data Register 6 (PDR6)
PDR6 is a general I/O port data register 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
Stores output data for port 6 pins.
If PDR6 is read while PCR6 bits are set to 1, the value
stored in PDR6 are read. If PDR6 is read while PCR6
bits are cleared to 0, the pin states are read regardless
of the value stored in PDR6.