Datasheet

Section 9 I/O Ports
Rev.5.00 Nov. 02, 2005 Page 129 of 500
REJ09B0027-0500
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.
9.5.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 and
CMD0 PWMD1
IOD2 to
IOD0 PCR67 Pin Function
Setting Value 1 00 0 000 or
1XX
0 P67 input/FTIOD1 input pin
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.