104
Preliminary User’s Manual U16035EJ1V0UM
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
6.1 Functions of 16-Bit Timer/Event Counter 0
The 16-bit timer/event counter 0 has the following functions.
• Interval timer
• PPG output
• Pulse width measurement
• External event counter
• Square-wave output
(1) Interval timer
TM0 generates interrupt request at the preset time interval.
(2) PPG output
TM0 can output a square wave whose frequency and output pulse can be set freely.
(3) Pulse width measurement
TM0 can measure the pulse width of an externally input signal.
(4) External event counter
TM0 can measure the number of pulses of an externally input signal.
(5) Square-wave output
TM0 can output a square wave with any selected frequency.