Datasheet
Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 163 of 910
REJ09B0350-0300
7.2.8 Port 8
(1) P86/IRQ5/SCK1/SCL1
The pin function is switched as shown below according to the combination of the C/A bit in SMR
of SCI_1, CKE0 and CKE1 bits in SCR, IIC1AS and IIC1BS bits in PTCNT1, ICE bit in ICCR of
IIC_1, and the P86DDR bit. When the ISS5 bit in ISSR is cleared to 0 and the IRQ5E bit in IER of
the interrupt controller is set to 1, this pin can be used as the IRQ5 input pin.
Setting
SCI IIC I/O Port
Module
Name
Pin Function
SCK1_OE SCL1_OE P86DDR
SCI SCK1 input/output 1 0 ⎯
IIC SCL1 input/output 0 1 ⎯
I/O port P86 output 0 0 1
P86 input
(initial setting)
0 0 0
Note: To use this pin as SCL1 input/output, be sure that SCK1_OE is 0. To use this pin as SCL1,
the IIC1AS and IIC1BS bits in PTCNT1 must be cleared to 0. The output format for SCL1 is
NMOS output only and direct bus drive is possible. When this pin is used as the P86 output
pin or SCK1 output pin, the output format is NMOS push-pull.
(2) P85/IRQ4/RxD1
The pin function is switched as shown below according to the state of the P85DDR bit.
Setting
SCI I/O Port
Module
Name
Pin Function RE P85DDR
SCI RxD1 input 1 ⎯
I/O port P85 output 0 1
P85 input
(initial setting)
0 0