6.2 16-Bit Timer 0 TM0 Functions
The 16-bit timer 0 TM0 has the following functions.
• Pulse width measurement
• Divided output of input pulse
Figure 6-1 shows 16-bit timer 0 TM0 block diagram.
ES21 ES20 ES11
ES10 ES01
Noise rejection
TI02/P42
circuit
Noise rejection
TI01/P41
circuit
Noise rejection
TI00/P40
circuit
TPO/PCL/P60
(1) Pulse width measurement
TM0 can measure the pulse width of an externally input signal.
(2) Divided output of input pulse
The frequency of an input signal can be divided and the divided signal can be output.
CHAPTER 6 16-BIT TIMER 0 TM0
Figure 6-1. Timer 0 TM0 Block Diagram
Internal bus
Prescaler mode
register (PRM0)
ES00 PRM01 PRM00
CRC01
CRC00
f
/8
X
f
/16
X
f
/32
X
f
/64
X
ES21, ES20
Prescaler
1, 1/2, 1/4, 1/8
ES11, ES10
ES01, ES00
TPOE
Internal bus
Preliminary User's Manual U14581EJ3V0UM00
Capture pulse control
register (CRC0)
TMC02 TPOE
16-bit timer register (TM0)
Edge
16-bit capture register (CR02)
detector
Edge
16-bit capture register (CR01)
detector
Edge
16-bit capture register (CR00)
detector
16-bit timer mode control
register (TMC0)
INTOVF
INTTM02
INTTM01
INTTM00
103