224
µ
PD78214 Sub-Series
(c) Event counter function (with only 8-bit timer/counter 2)
An erroneously detected edge causes no change in the value of the timer/counter. However, the timing
for generating an interrupt by a coincidence between the value of the timer/counter and the value of a
compare register becomes faster by the number of edges detected erroneously.
The timer output function is not affected by an erroneously detected edge, but operates with the correct
timing.
Such an interrupt generation timing deviation as described above can be corrected by the following
operations:
Clear operation on a normal edge when the clear function following capture operation is used
Clearing the CE2 bit of timer control register 1 (TMC1) to 0