Datasheet
Section 7 I/O Ports
Rev. 3.00 Sep. 28, 2009 Page 172 of 910
REJ09B0350-0300
7.2.12 Port C
(1) PC7/WUE15/TIOCB2/TCLKD
The pin function is switched as shown below according to the combination of the register setting
of the TPU and the PC7DDR bit. When the WUEMR15 bit in WUEMR of the interrupt controller
is cleared to 0, this pin can be used as the WUE15 input pin.
This pin functions as the TCLKD input when TPSC2 to TPSC0 in TCR_0 is B'111. Also, when
channel 2 is set to phase counting mode, this pin functions as the TCLKD input. This pin functions
as TIOCB2 input when TPU channel 2 timer operating mode is set to normal operation or phase
counting mode and IOB3 in TIOR_2 is set to 1.
Setting
TPU I/O Port
Module
Name
Pin Function
TIOCB2_OE PC7DDR
TPU TIOCB2 output 1 ⎯
I/O port PC7 output 0 1
PC7 input
(initial setting)
0 0
(2) PC6/WUE14/TIOCA2
The pin function is switched as shown below according to the combination of the register setting
of the TPU and the PC6DDR bit. When the WUEMR14 bit in WUEMR of the interrupt controller
is cleared to 0, this pin can be used as the WUE14 input pin.
This pin functions as TIOCA2 input when TPU channel 2 timer operating mode is set to normal
operation or phase counting mode and IOA3 in TIOR_2 is set to 1.
Setting
TPU I/O Port
Module
Name
Pin Function
TIOCA2_OE PC6DDR
TPU TIOCA2 output 1 ⎯
I/O port PC6 output 0 1
PC6 input
(initial setting)
0 0