Datasheet
Section 13 Timer RC
Rev. 1.50 Sep. 18, 2007 Page 236 of 584
REJ09B0240-0150
13.4 Operation
Timer RC has the following operating modes.
• Timer mode operation
Enables output compare and input capture functions by setting the IOA2 to IOA0 and IOB2
to IOB0 bits in TRCIOR0 and the IOC2 to IOC0 and IOD2 to IOD0 bits in TRCIOR1
• PWM mode operation
Enables PWM mode operation by setting the PWMD, PWMC, and PWMB bits in TRCMR
• PWM2 mode operation
Enables PWM2 mode operation by setting the PWM2 bit in TRMR
The FTIOA to FTIOD pins indicate the timer output mode by each register setting.
• FTIOA pin
Register
Name TRCOER TRCIOR0
Bit Name EA PWM2
IOA2 to
IOA0 Function
0 1 001, 01X Timer mode waveform output (output compare
function)
0
1
1 1XX Timer mode (input capture function)
Setting
values
Other than above General I/O port
[Legend]
X: Don't care.










