h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 259

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.3.3
Mode 1: In mode 1, port 2 pins automatically function as address outputs. The port 2 pin functions
are shown in figure 8.6.
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.
Pin Functions in Each Mode
Figure 8.6 Port 2 Pin Functions (Mode 1)
Port 2
A15 (Output)
A14 (Output)
A13 (Output)
A12 (Output)
A11 (Output)
A10 (Output)
A9 (Output)
A8 (Output)
Rev. 4.00 Jun 06, 2006 page 205 of 1004
Section 8 I/O Ports
REJ09B0301-0400

Related parts for h8s-2138