Section 8 I/O Ports
In modes 5 to 7, when a P5DDR bit is cleared to 0 (selecting generic input), if the corresponding
bit in P5PCR is set to 1, the input pull-up transistor is turned on.
P5PCR is initialized to H'F0 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting.
Table 8.9 summarizes the states of the input pull-ups in each mode.
Table 8.9
Input Pull-Up Transistor States (Port 5)
Mode
Reset
1
Off
2
3
4
5
Off
6
7
Legend
Off:
The input pull-up transistor is always off.
On/off: The input pull-up transistor is on if P5PCR = 1 and P5DDR = 0. Otherwise, it is off.
Rev. 4.00 Jan 26, 2006 page 288 of 938
REJ09B0276-0400
Hardware Standby Mode
Off
Off
Software Standby Mode
Off
On/off
Other Modes
Off
On/off