Datasheet

Section 11 16-Bit Cycle Measurement Timer (TCM)
Rev. 3.00 Sep. 28, 2009 Page 322 of 910
REJ09B0350-0300
Cycle measurement stops if MAXOVF/MINUDF is set to 1 while the CPSPE bit in TCMCR is set
to 1. Subsequently clearing MAXOVF/MINUDF to 0 restarts cycle measurement. In this case, the
external event can be considered to have stopped if a timer overflow is generated before detection
of the first edge.
Figure 11.11 shows an example of the timing of the external event stopped state (2).
Start of measurement
Determined as external event stopped state
φ
TCMCYI
CPSPE
MAXOVF/
MINUDF
TCMCNT
H'5555 H'0000 H'FFFF H'0000 N H'0000 H'0001
OVF
Restart of mesurement
Figure 11.11 Example of Timing in External Event Stopped State (2)