178
User’s Manual U11969EJ3V0UM00
CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
Figure 7-4. Relations between Clear/Start by TCLR0 Signal Input and Overflow (when ECLR0 = 1, OST0 = 1)
(3) Clearing/starting by CC03 match
Timer 0 usually starts the count operation when CCLR =1, CMS03 = 1, and the CE0 bits of the TMC00 registers
are set to 1. It is also possible to clear TM0 and start the count operation by generation of CC03 match
(INTC03).
When CCLR0 = 1, CMS03 = 1, and the CE0 bit is set to 1, the count operation is started. If CC03 match is
generated during operation, TM0 clears its value and then resumes the count operation (refer to Figure 7-
5).
If a value smaller than the current count value of TM0 is set to CC03 during count operation, overflow of TM0
occurs (refer to Figure 7-6). For the operation after occurrence of overflow, refer to 7.4.3 Overflow.
Figure 7-5. Clearing/Starting Timer by CC03 Match (when CCLR0 =1, OST0 = 0)
Remark n > k > m
TM0
INTOV0
0
CE0
←
1
TCLR0
←
1
TCLR0
←
1
TCLR0
←
1
Count starts
Overflow
FFFFFFH
TM0
INTOV0
INTCC03
0
CCLR0
←
1
CC03
←
n
CE0
←
1
CC03
←
m
Count starts
Overflow
FFFFFFH
Clear & start
Clear &
start
Clear &
start
n
k
m
m
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...