Section 8 I/O Ports
Rev. 7.00 Mar 10, 2005 page 217 of 652
REJ09B0042-0700
8.5.4 Pin States
Table 8.13 shows the port 5 pin states in each operating mode.
Table 8.13 Port 5 Pin States
Pins Reset Sleep Subsleep Standby Watch Subactive Active
P5
7
/
WKP
7
/
SEG
8
to P5
0
/
WKP
0
/SEG
1
High-
impedance
Retains
previous
state
Retains
previous
state
High-
impedance
*
Retains
previous
state
Functional Functional
Note: * A high-level signal is output when the MOS pull-up is in the on state.
In the HD64F38024 the previous pin state is retained.
8.5.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
001
PUCR5
n
01*
MOS input pull-up Off On Off
(n = 7 to 0)
*: Don’t care