Datasheet
Section 8 I/O Ports
Rev. 4.00 Jun 06, 2006 page 232 of 1004
REJ09B0301-0400
Table 8.18 Port 8 Pin Functions
Pin Selection Method and Pin Functions
P86/IRQ5/SCK1/
SCL1
The pin function is switched as shown below according to the combination of
bits CKE1 and CKE0 in SCR of SCI1, bit C/A in SMR of SCI1, bit ICE in ICCR
of IIC1, and bit P86DDR.
ICE 0 1
CKE1 0 1 0
C/A 01— 0
CKE0 0 1 —— 0
P86DDR 0 1 ————
Pin function P86
input pin
P86
output pin
SCK1
output pin
SCK1
output pin
SCK1
input pin
SCL1
I/O pin
IRQ5 input pin
When the IRQ5E bit in IER is set to 1, this pin is used as the IRQ5 input pin.
When this pin is used as the SCL1 I/O pin, bits CKE1 and CKE0 in SCR of
SCI1 and bit C/A in SMR of SCI1 must all be cleared to 0. SCL1 is an NMOS-
only output, and has direct bus drive capability.
P85/IRQ4/RxD1 The pin function is switched as shown below according to the combination of
bit RE in SCR of SCI1 and bit P85DDR.
RE 0 1
P85DDR 0 1 —
Pin function P85 input pin P85 output pin RxD1 input pin
IRQ4 input pin
When the IRQ4E bit in IER is set to 1, this pin is used as the IRQ4 input pin.
P84/IRQ3/TxD1 The pin function is switched as shown below according to the combination of
bit TE in SCR of SCI1 and bit P84DDR.
TE 0 1
P84DDR 0 1 —
Pin function P84 input pin P84 output pin TxD1 output pin
IRQ3 input pin
When the IRQ3E bit in IER is set to 1, this pin is used as the IRQ3 input pin.