Datasheet
Section 8 I/O Ports
Rev. 2.00 Aug. 20, 2008 Page 278 of 1198
REJ09B0403-0200
(2) Port 1 Data Register (P1DR)
P1DR stores output data for the port 1 pins.
Bit Bit Name Initial Value R/W Description
7 P17DR 0 R/W
6 P16DR 0 R/W
5 P15DR 0 R/W
4 P14DR 0 R/W
3 P13DR 0 R/W
2 P12DR 0 R/W
1 P11DR 0 R/W
0 P10DR 0 R/W
P1DR stores output data for the port 1 pins that are
used as the general output port.
If this register is read, the P1DR values are read for
the bits with the corresponding P1DDR bits set to 1.
For the bits with the corresponding P1DDR bits
cleared to 0, the pin states are read.
(3) Port 1 Pull-Up MOS Control Register (P1PCR)
P1PCR controls the port 1 built-in input pull-up MOSs.
Bit Bit Name Initial Value R/W Description
7 P17PCR 0 R/W
6 P16PCR 0 R/W
5 P15PCR 0 R/W
4 P14PCR 0 R/W
3 P13PCR 0 R/W
2 P12PCR 0 R/W
1 P11PCR 0 R/W
0 P10PCR 0 R/W
When the pins are in the input state, the
corresponding input pull-up MOS is turned on when
a P1PCR bit is set to 1.
Do not change the initial value when using the
address-data multiplex extended bus mode.










