Datasheet

Rev. 3.00, 03/04, page 218 of 830
8.8.3 Pin Functions
The relationship between register setting values and pin functions are as follows.
P87/ExIRQ15/ADTRG/ExTMIY
The pin function is switched as shown below according to the P87DDR bit.
When the TRGS1 and TRGS0 bits in ADCR of the A/D converter are both set to 1, this pin
can be used as the ADTRG input pin.
When the ISS15 bit in ISSR16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ15 input pin. When the TMIYS bit in PTCNT0 is set to 1, this pin can be used as the
TMIY (TMCIX/TMRIY) input pin. To use this pin as the ExIRQ15 input pin, clear the
P87DDR bit to 0.
When this pin is used as the P87 output pin, the output format is NMOS push-pull output.
P87DDR 0 1
P87 input pin Pin function
ExIRQ15 input pin
/ADTRG input pin
/ExTMIY input pin
P87 output pin
P86/ExIRQ14/SCK2/ExTMIX
The pin function is switched as shown below according to the combination of the C/A bit in
SMR of SCI_2, the CKE1 and CKE0 bits in SCR, and the P86DDR bit.
When the ISS14 bit in ISSR16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ14 input pin. When the TMIXS bit in PTCNT0 is set to 1, this pin can be used as the
TMIX (TMCIX/TMRIX) input pin. To use this pin as the ExIRQ14 input pin, clear the
P86DDR bit to 0.
When this pin is used as the P86 output pin, the output format is NMOS push-pull output.
CKE1 0 1
C/A 0 1
CKE0 0 1
P86DDR 0 1
P86 input pin Pin function
ExIRQ14 input pin
/ExTMIX input pin
P86 output
pin
SCK2 output
pin
SCK2 output
pin
SCK2 input pin