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*
Note: * 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*
Note: * IRQ1 input can be used when bit IRQ1E is set to 1 in IER
P90/IRQ2/
ADTRG/ECS2
Bit STAC in STCR, bit P90DDR, and the operating mode select the pin function
as follows
Operating mode
STAC
Slave mode
Not slave mode
—
0
1
P90DDR
0
1
—
0
1
Pin function
P90 input P90 output ECS2 input P90 input P90 output
IRQ2 input*1 and
IRQ2
IRQ2 input*1 and
ADTRG input*2
input*1
ADTRG input*2
Notes: *1 IRQ2 input can be used when bit IRQ2E is set to 1 in IER
*2 ADTRG input can be used when bit TRGE is set to 1 in ADCR
145