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

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.2.3
Mode 1: In mode 1, port 1 pins automatically function as address outputs. The port 1 pin functions
are shown in figure 8.2.
Modes 2 and 3 (EXPE = 1): In modes 2 and 3 (when EXPE = 1), port 1 pins function as address
outputs, PWM outputs, or input ports, and input or output can be specified on a bit-by-bit basis.
When a bit in P1DDR is set to 1, the corresponding pin functions as an address output or PWM
output, and when cleared to 0, as an input port.
The port 1 pin functions are shown in figure 8.3.
Port 1
Pin Functions in Each Mode
Figure 8.3 Port 1 Pin Functions (Modes 2 and 3 (EXPE = 1))
When P1DDR = 1
and PWOERA = 0
A7 (Output)
A6 (Output)
A5 (Output)
A4 (Output)
A3 (Output)
A2 (Output)
A1 (Output)
A0 (Output)
Figure 8.2 Port 1 Pin Functions (Mode 1)
Port 1
When P1DDR = 0
P17 (Input)
P16 (Input)
P15 (Input)
P14 (Input)
P13 (Input)
P12 (Input)
P11 (Input)
P10 (Input)
A7 (Output)
A6 (Output)
A5 (Output)
A4 (Output)
A3 (Output)
A2 (Output)
A1 (Output)
A0 (Output)
Rev. 4.00 Jun 06, 2006 page 199 of 1004
When P1DDR = 1
and PWOERA = 1
PW7 (Output)
PW6 (Output)
PW5 (Output)
PW4 (Output)
PW3 (Output)
PW2 (Output)
PW1 (Output)
PW0 (Output)
Section 8 I/O Ports
REJ09B0301-0400

Related parts for h8s-2138