Datasheet
Section 8 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 131 of 710
REJ09B0384-0300
8.2.3 Port 2 Pull-Up MOS Control Register (P2PCR)
P2PCR controls the port 2 built-in input pull-up MOSs.
Bit Bit Name Initial Value R/W Description
7 ⎯ 0 R/W
6 ⎯ 0 R/W
5 ⎯ 0 R/W
Reserved
4 ⎯ 0 R/W
3 P23PCR 0 R/W
2 P22PCR 0 R/W
1 P21PCR 0 R/W
When the pins are in input state, the corresponding
input pull-up MOS is turned on when a P2PCR bit
is set to 1.
0 P20PCR 0 R/W
8.2.4 Port 2 Input Pull-Up MOS
Port 2 has a built-in input pull-up MOS that can be controlled by software. This input pull-up
MOS can be used regardless of the operating mode. Table 8.3 summarizes the input pull-up MOS
states.
Table 8.3 Port 2 Input Pull-Up MOS States
Reset
Hardware Standby
Mode
Software Standby
Mode
In Other Operations
Off Off On/Off On/Off
[Legend]
Off: Always off.
On/Off: On when P2DDR = 0 and P2PCR = 1; otherwise off.