Hitachi F-ZTAT H8/3039 Series Hardware Manual page 163

Single-chip microcomputer
Table of Contents

Advertisement

7.5.4 Input Pull-Up Transistors
Port 5 has built-in MOS pull-up transistors that can be controlled by software. These input pull-up
transistors can be turned on and off individually.
When a P5PCR bit is set to 1 and the corresponding P5DDR bit is cleared to 0, the input pull-up
transistor is turned on.
The input pull-up transistors are turned off by a reset and in hardware standby mode. In software
standby mode they retain their previous state.
Table 7-7 summarizes the states of the input pull-up transistors in each mode.
Table 7-7 Input Pull-Up Transistor States (Port 5)
Mode
Reset
Hardware Standby Mode
1
Off
Off
3
5
Off
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.
152
Port 5
Figure 7-15 Pin Functions in Mode 6 and 7 (Port 5)
P5 (input/output)
3
P5 (input/output)
2
P5 (input/output)
1
P5 (input/output)
0
Software Standby Mode
Off
On/off
Other Modes
Off
On/off

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents