Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

What do you mean by Avoid a timing when timer 2 underflows to stop timer 2?

Latest Updated:11/12/2004

Question:

(Timer)   Please explain the precaution, "Avoid a timing when timer 2 underflows to stop timer 2". [2004/11/12]

Answer:

This is a precaution regarding using timer 2 for PWM output.
If stopping of timer 2 overlaps with timer underflow, a hazard may be generated in the PWM signal generated by timer 2. If you must overlap, consider carefully whether the generation of a hazard will cause any problems. When the PWM output function is not in use, overlapping will not cause any problems.
However, the generated underflow signal will set the timer 2 interrupt request flag (T2F) to 1. (#105058)
Suitable Products
4559
455A