8.1.2
Port 1 Data Register (P1DR)
P1DR stores output data for the port 1 pins.
Bit
Bit Name
7
P17DR
6
P16DR
5
P15DR
4
P14DR
3
P13DR
2
P12DR
1
P11DR
0
P10DR
8.1.3
Port 1 Pull-Up MOS Control Register (P1PCR)
P1PCR controls the on/off state of the input pull-up MOS for port 1 pins.
Bit
Bit Name
7
P17PCR
6
P16PCR
5
P15PCR
4
P14PCR
3
P13PCR
2
P12PCR
1
P11PCR
0
P10PCR
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
P1DR stores output data for the port 1 pins that are
used as the general output port.
If a port 1 read is performed while the P1DDR bits
are set to 1, the P1DR values are read. If a port 1
read is performed while the P1DDR bits are cleared
to 0, the pin states are read.
Description
When the pins are in input state, the corresponding
input pull-up MOS is turned on when a P1PCR bit
is set to 1.
Rev. 3.00 Jul. 14, 2005 Page 165 of 986
Section 8 I/O Ports
REJ09B0098-0300