Operation
Interval timer
mode
External event counter
Function
Timer output
PWM output
Pulse width measurement
Square-wave output
Interrupt request
Test input
Notes 1. Watch timer can perform both watch timer and interval timer functions at the same time.
2. Watchdog timer can perform either the watchdog timer function or the interval timer function.
8.2 16-Bit Timer/Event Counter Functions
The 16-bit timer/event counter (TM0) has the following functions.
• Interval timer
• PWM output
• Pulse width measurement
• External event counter
• Square-wave output
www.DataSheet4U.com
PWM output and pulse width measurement functions at the same time.
(1) Interval timer
TM0 generates interrupt requests at the preset time interval.
Minimum Interval Time
2 × TI0 input cycle
× 1/f
2
2
(400 ns)
X
× 1/f
2
3
(800 ns)
X
(1.6 µ s)
× 1/f
2
4
X
Remarks 1. f
2. Values in parentheses apply to operation with f
172
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
Table 8-1. Timer/Event Counter Operation
Table 8-2. 16-Bit Timer/Event Counter Interval Times
× TI0 input cycle
2
16
× 1/f
17
2
× 1/f
2
18
× 1/f
2
19
: Main system clock oscillation frequency
X
16-Bit Timer/
8-Bit Timer/
Event Counter
Event Counter
1 channel
2 channels
—
—
—
—
Maximum Interval Time
(13.1 ms)
X
(26.2 ms)
X
(52.4 ms)
X
= 10.0 MHz
X
Watch Timer
Watchdog
Timer
Note 1
1 channel
1 channel
—
—
—
—
—
—
—
—
—
—
—
Resolution
TI0 input edge cycle
2 × 1/f
(200 ns)
X
× 1/f
2
2
(400 ns)
X
× 1/f
2
3
(800 ns)
X
Note 2