Pin
Pin Functions and Selection Method
P93/RD
Bit P93DDR and the operating mode select the pin function as follows
Operating mode
P93DDR
Modes 1 and 2
—
Mode 3
0
1
Pin function
RD output
P93 input
P93 output
P92/IRQ0
P92DDR
0
1
Pin function
P92 input
P92 output
IRQ0 input
IRQ0 input can be used when bit IRQ0E is set to 1 in IER
P91/IRQ1/
EIOW*
Bit STAC in STCR, bit P91DDR, and the operating mode select the pin function
as follows
Operating mode
STAC
Slave mode
Not slave mode
0
1
—
P91DDR
0
1
—
0
1
Pin function
P91 input P91 output
EIOW
input*
P91 input P91 output
IRQ1 input
IRQ1 input can be used when bit IRQ1E is set to 1 in IER
Note: * H8/3337 Series only. H8/3397 Series ICs have no EIOW pin function.
P90/IRQ2/
Bit STAC in STCR, bit P90DDR, and the operating mode select the pin function
ADTRG/ECS2* as follows
Operating mode
Slave mode
Not slave mode
STAC
0
1
—
P90DDR
Pin function
0
1
—
0
1
P90 input P90 output
ECS2
input*
P90 input P90 output
IRQ2 input and
ADTRG input
IRQ2 input
IRQ2 input and
ADTRG input
IRQ2 input can be used when bit IRQ2E is set to 1 in IER
ADTRG input can be used when bit TRGE is set to 1 in ADCR
Note: * H8/3337 Series only. H8/3397 Series ICs have no ECS2 pin function.
155