CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
User’s Manual U12688EJ4V0UM00
264
9.4.3 Overflow
When the TM1n register counts the count clock to FFFFH and overflow occurs as a result, a flag is set in the
OVF1n bit of the TOVS register and an overflow interrupt (INTOV1n) is generated (n = 0 to 5).
Also, by setting the OSTn bit (1) in the TUM1n register, the timer can be stopped after overflow. If the timer is
stopped due to an overflow, the count operation does not resume until the CE1n bit in the TMC1n register is set (1).
Note that even if the CE1n bit is set (1) during a count operation, it has no influence on operation.
Figure 9-2. Operation after Overflow (If ECLR1n = 0 and OSTn = 1)
Overflow
Overflow
FFFFH
FFFFH
TM1n
0
Count
start
INTOV1n
OSTn 1
CE1n 1
CE1n 1
Remark n = 0 to 5
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...