8.6.4
Pin States
Table 8.16 shows the port 5 pin states in each operating mode.
Table 8.16 Port 5 Pin States
Pins
Reset
P5
/WKP
/
High-
7
7
SEG
to P5
/
impedance
8
0
WKP
/SEG
0
1
Note:
* A high-level signal is output when the MOS pull-up is in the on state.
8.6.5
MOS Input Pull-Up
Port 5 has a built-in MOS input pull-up function that can be controlled by software. When a
PCR5 bit is cleared to 0, setting the corresponding PUCR5 bit to 1 turns on the MOS pull-up for
that pin. The MOS pull-up function is in the off state after a reset.
PCR5
n
PUCR5
n
MOS input pull-up
Sleep
Subsleep
Retains
Retains
previous
previous
state
state
0
0
Off
Standby
Watch
High-
Retains
impedance*
previous
state
0
1
On
Rev. 6.00 Aug 04, 2006 page 233 of 680
Section 8 I/O Ports
Subactive
Active
Functional
Functional
1
*
Off
(n = 7 to 0)
*: Don't care
REJ09B0145-0600