Datasheet

Section 8 I/O Ports
Rev. 4.00 Jun 06, 2006 page 239 of 1004
REJ09B0301-0400
Pin Selection Method and Pin Functions
P90/IRQ2/
ADTRG/ECS2
The pin function is switched as shown below according to the combination of
operating mode, 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)
HI12E Any one 0 1
FGA20E 1
CS2E 1
P90DDR0101
Pin function 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, 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.