153
CHAPTER 7 8-BIT TIMER/EVENT COUNTER
Preliminary User’s Manual U13420EJ2V0UM00
(2) Operation after compare register transition during timer count operation
If the value after 8-bit compare register 5n (CR5n) is transmitted is smaller than the value of 8-bit counter 5n
(TM5n), TM5n continues counting, overflows and then restarts counting from 0. Thus, if the value (M) after CR5n
is smaller than value (N) before transition, it is necessary to restart the timer after transiting CR5n.
Figure 7-14. Timing after Compare Register Transition during Timer Count Operation
Caution
Except when the TI5n input is selected, always set TCE5n = 0 before setting the stop state.
Remarks 1. N > X > M
2. n = 0, 1
(3) TM5n (n = 0, 1) reading during timer operation
When reading TM5n during operation, select count clock having high/low level wave form longer than two cycles
of CPU clock because count clock stops temporary. For example, in the case where CPU clock (f
CPU
) is fx, when
the selected count clock is fx/4 or below, it can be read.
Remark
n = 0, 1
Count pulse
CR5n
TM5 count value
N
M
X–1
X
FFH
00H
01H
02H
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...