English
Language : 

HD64F2149 Datasheet, PDF (238/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.3.3 Pin Functions in Each Mode
Mode 1: In mode 1, port 2 pins automatically function as address outputs. The port 2 pin functions
are shown in figure 8.6.
Port 2
A15 (Output)
A14 (Output)
A13 (Output)
A12 (Output)
A11 (Output)
A10 (Output)
A9 (Output)
A8 (Output)
Figure 8.6 Port 2 Pin Functions (Mode 1)
Modes 2 and 3 (EXPE = 1): In modes 2 and 3 (when EXPE = 1), port 2 pins function as address
outputs, PWM outputs, or I/O ports, and input or output can be specified on a bit-by-bit basis.
When a bit in P2DDR is set to 1, the corresponding pin functions as an address output or PWM
output, and when cleared to 0, as an input port. P27 to P24 are switched from address outputs to
output ports by setting the IOSE bit to 1. P27 can be used as an on-chip supporting module output
pin regardless of the P27DDR setting, but to ensure normal access to external space, P27 should
not be set as an on-chip supporting module output pin when port 2 pins are used as address output
pins.
The port 2 pin functions are shown in figure 8.7.
Port 2
204
When P2DDR = 1
and PWOERB = 0
When P2DDR = 0
When P2DDR = 1
and PWOERB = 1
A15 (Output)/P27 (Output) P27 (Input)/CBLANK (Output) PW15 (Output)/CBLANK (Output)
A14 (Output)/P26 (Output) P26 (Input)
PW14 (Output)
A13 (Output)/P25 (Output) P25 (Input)
PW13 (Output)
A12 (Output)/P24 (Output) P24 (Input)
PW12 (Output)
A11 (Output)
P23 (Input)
PW11 (Output)
A10 (Output)
P22 (Input)
PW10 (Output)
A9 (Output)
P21 (Input)
PW9 (Output)
A8 (Output)
P20 (Input)
PW8 (Output)
Figure 8.7 Port 2 Pin Functions (Modes 2 and 3 (EXPE = 1))