Datasheet
Section 15 Timer RC
REJ09B0465-0300 Rev. 3.00 Page 463 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
15.3 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 IOC3 to IOC0 and IOD3 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 TRCMR.
The FTIOA to FTIOD pins indicate the timer output mode by each register setting. Set 1 to the
PMCR and PMR bits corresponding to the pins selected by the PMC.
Table 15.3 FTIOA Pin Functions
Register
Name TRCOER TRCMR TRCIOR0
Bit Name EA PWM2
IOA2 to
IOA0
Function
0 1 001, 01X Timer mode waveform output (output compare
function)
X 1 1XX Timer mode (input capture function)
X 1 000 General input port (when PCR = 0 on the
corresponding pin)
Setting
values
Other than above Setting prohibited
[Legend]
X: Don't care.