Datasheet

Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 158 of 910
REJ09B0350-0300
(6) P42/SDA1/TCMCYI1
The pin function is switched as shown below according to the combination of the IIC1AS and
IIC1BS bits in PTCNT1, ICE bit in ICCR of IIC_1, and the P42DDR bit. When the TCMIPE bit
in TCMIER_1 of TCM_1 is set to 1, TCMCYI1 functions as an input pin.
Setting
IIC_1 I/O Port
Module
Name
Pin Function
SDA1_OE P42DDR
IIC SDA1 input/output
1
I/O port P42 output 0 1
P42 input
(initial setting)
0 0
Note: To use this pin as SDA1, clear the IIC1AS and IIC1BS bits in PTCNT1 to 0. The output
format for SDA1 is NMOS output only and direct bus drive is possible. When this pin is used
as the P42 output pin, the output format is NMOS push-pull.
(7) P41/TMO0/RxD2/TCMCKI0/TCMMCI0
The pin function is switched as shown below according to the combination of the TMR and the
P41DDR bit.
Setting
TMR SCI I/O Port
Module
Name
Pin Function
TMO0_OE RE P41DDR
TMR TMO0 output 1 0
SCI RxD2 input 0 1
I/O port P41 output 0 0 1
P41 input
(initial setting)
0 0 0
Note: To use this pin as TMO0 output, clear the RE bit in SCR of the SCI2 to 0.