Datasheet

Section 8 I/O Ports
Rev. 4.00 Jun 06, 2006 page 195 of 1004
REJ09B0301-0400
Expanded Modes Single-Chip Mode
Port Description Pins
Mode 1
Mode 2, Mode 3
(EXPE = 1)
Mode 2, Mode 3
(EXPE = 0)
P97/WAIT I/O port also functioning as
expanded data bus control input
(WAIT)
I/O port
P96/φ/EXCL When DDR =
0: input port or
EXCL input
When DDR =
1 (after reset):
φ output
When DDR = 0 (after reset): input port or EXCL
input
When DDR = 1: φ output
P95/AS/IOS
P94/WR
P93/RD
Expanded data bus control
output(AS/IOS, WR, RD)
I/O port
P92/IRQ0
P91/IRQ1
I/O port also functioning as external interrupt input (IRQ0, IRQ1)
Port 9 8-bit I/O port
P90/IRQ2/
ADTRG
I/O port also functioning as external
interrupt input (IRQ2), and A/D
converter external trigger input
(ADTRG)
I/O port also functioning
as external interrupt input
(IRQ2) and A/D converter
external trigger input
(ADTRG)
8.2 Port 1
8.2.1 Overview
Port 1 is an 8-bit I/O port. Port 1 pins also function as address bus output pins (A7 to A0), and as
8-bit PWM output pins (PW7 to PW0) (H8S/2138 Group only). Port 1 functions change according
to the operating mode. Port 1 has an on-chip MOS input pull-up function that can be controlled by
software.
Figure 8.1 shows the port 1 pin configuration.