CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U16896EJ2V0UD
291
(7) Operation of OVF01 flag
(a) Setting of OVF01 flag
The TMC01.OVF01 flag is set to 1 in the following case in addition to when the TM01 register overflows.
Select the mode in which clear & start occurs upon match between the TM01 register and the CR010
register.
↓
Set the CR010 register to FFFFH
↓
When the TM01 register is cleared from FFFFH to 0000H upon match with the CR010 register
Figure 7-48. Operation Timing of OVF01 Flag
FFFEH
FFFFH
FFFFH
0000H
0001H
Count pulse
TM01
INTTM010
OVF01
CR010
(b) Clearing of OVF01 flag
After the TM01 register overflows, clearing OVF01 flag is invalid and set (1) again even if the OVF01 flag is
cleared (0) before the next count clock is counted (before TM01 register becomes 0001H).
(8) One-shot pulse output
One-shot pulse output operates normally in either the free-running timer mode or the mode in which clear & start
occurs on the valid edge of the TI010 pin. In the mode in which clear & start occurs upon match between the
TM01 register and the CR010 register, one-shot pulse output is not possible.