Datasheet
Section 9 I/O Ports
Rev. 1.50 Sep. 18, 2007 Page 132 of 584
REJ09B0240-0150
9.2.2 Port Data Register 2 (PDR2)
PDR2 is a general I/O port data register of port 2.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
P27
P26
P25
P24
P23
P22
P21
P20
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PDR2 stores output data for port 2 pins.
If PDR2 is read while PCR2 bits are set to 1, the values
stored in PDR2 are read. If PDR2 is read while PCR2
bits are cleared to 0, the pin states are read regardless
of the value stored in PDR2.
9.2.3 Port Mode Register 3 (PMR3)
PMR3 selects the CMOS output or NMOS open-drain output for port 2.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
POF27
POF26
POF25
POF24
POF23
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
When the bit is set to 1, the corresponding pin is cut off
by PMOS and it functions as the NMOS open-drain
output. When cleared to 0, the pin functions as the
CMOS output.
2 to 0 All 1 Reserved
These bits are always read as 1.










