7.10.3
Pin Functions
Port 9 has one set of pin functions in modes 1 and 2, and a different set of pin functions in mode 3.
The pins are multiplexed with IRQ0 to IRQ2 input, bus control signal input/output, A/D converter
input, system clock (ø) output, host interface input (ECS2, EIOW), and I2C data input/output
(SDA). Table 7.19 indicates the pin functions of port 9.
Table 7.19 Port 9 Pin Functions
Pin
Pin Functions and Selection Method
P97/WAIT/SDA* Bit ICE in ICCR, bit P97DDR, the wait mode as determined by WSCR, and the
operating mode select the pin function as follows
Operating mode
Wait mode
Modes 1 and 2
Mode 3
WAIT
used
WAIT
not used
—
ICE
—
—
0
1
—
0
1
—
P97DDR
Pin function
0
1
0
1
WAIT
input
pin
P97
P97
SDA
P97
P97
SDA
input output input/
input output input/
pin
pin
output
pin
pin
output
pin*
pin*
Note: * H8/3337 Series only. H8/3397 Series ICs have no SDA pin function.
P96/ø
Bit P96DDR and the operating mode select the pin function as follows
Operating mode
P96DDR
Modes 1 and 2
Always 1
Mode 3
0
1
Pin function
ø output
P96 input
ø output
P95/AS
P94/WR
Bit P95DDR and the operating mode select the pin function as follows
Operating mode
P95DDR
Modes 1 and 2
—
Mode 3
0
1
Pin function
AS output
P95 input
P95 output
Bit P94DDR and the operating mode select the pin function as follows
Operating mode
P94DDR
Modes 1 and 2
—
Mode 3
0
1
Pin function
WR output
P94 input
P94 output
154