English
Language : 

HD64F3039F18 Datasheet, PDF (180/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
Section 7 I/O Ports
Modes 6 and 7
Input or output can be selected separately for each pin in port 5. A pin becomes an output pin if
the corresponding P5DDR bit is set to 1, and an input pin if this bit is cleared to 0. Figure 7.15
shows the pin functions in modes 6 and 7.
Port 5
P53 (input/output)
P52 (input/output)
P51 (input/output)
P50 (input/output)
Figure 7.15 Pin Functions in Mode 6 and 7 (Port 5)
7.5.4 Input Pull-Up Transistors
Port 5 has built-in MOS input 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 Software Standby Mode Other Modes
1
Off
Off
3
Off
Off
5
Off
Off
6
7
On/Off
On/Off
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.3.00 Mar. 26, 2007 Page 156 of 682
REJ09B0353-0300