Datasheet
Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 173 of 788
REJ09B0300-0300
8.2.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
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.
8.2.3 Port 1 Pull-Up MOS Control Register (P1PCR)
P1PCR controls the on/off status of the port 1 on-chip 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 input state, the
corresponding input pull-up MOS is turned on
when a P1PCR bit is set to 1.