Pin States; Mos Input Pull-Up - Hitachi H8/3937 Series Hardware Manual

Table of Contents

Advertisement

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
to
High-
7
7
/ WKP
P5
impedance
0
0
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
Subactive
Active
Functional
Functional
1
*
Off
(n = 7 to 0)
*: Don't care
161

Advertisement

Table of Contents
loading

Table of Contents