Datasheet

Section 9 I/O Ports
Rev. 4.00 Mar. 15, 2006 Page 127 of 556
REJ09B0026-0400
9.4.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.
9.4.3 Pin Functions
The correspondence between the register specification and the port functions is shown below.
P67/FTIOD1 pin
Register TOER TFCR TPMR TIORC1 PCR6
Bit Name
ED1
CMD1,
CMD0
PWMD1
IOD2 to
IOD0
PCR67
Pin Function
Setting Value 1 00 0 0 P67 input/FTIOD1 input pin
000 or
1XX
1 P67 output pin
0 00 0 001 or
01X
X FTIOD1 output pin
1 XXX
Other than
00
X XXX
[Legend]
X: Don't care.