Datasheet
Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 264 of 1130
REJ09B0327-0400
Pin Selection Method and Pin Functions
P90/LWR/IRQ2/
ADTRG/ECS2
The pin function is switched as shown below according to the combination of
operating mode, bit ABW in WSCR, bits HI12E and CS2E in SYSCR2, bit
FGA20E in HICR, and bit P90DDR.
Operating
mode
Modes 1, 2, 3 (EXPE = 1) Modes 2, 3 (EXPE = 0)
ABW 0 1 —
HI12E — Any one 0 1
FGA20E — 1
CS2E — 1
P90DDR — 0101—
Pin function LWR
output pin
P90
input pin
P90
output pin
P90
input pin
P90
output pin
ECS2
input pin
IRQ2 input pin, ADTRG input pin
When the IRQ2E bit in IER is set to 1 in mode 1, 2, or 3 (EXPE = 1) with the
ABW bit in WSCR set to 1, or in mode 2 and 3 (EXPE = 0), this pin is used as
the IRQ2 input pin.
When TRGS1 and TRGS0 in ADCR of the A/D converter are both set to 1, this
pin is used as the ADTRG input pin.