Timing After Compare Register Change During Timer Count Operation - NEC PD78081(A) User Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

CHAPTER 6 8-BIT TIMER/EVENT COUNTERS 5 AND 6
(3) Operation after compare register change during timer count operation
If the values after the 8-bit compare registers 50 and 60 (CR50 and CR60) are changed are smaller than those
of 8-bit timer registers 5 and 6 (TM5 and TM6), TM5 and TM6 continue counting, overflow and then restart
counting from 0. Thus, if the value (M) after CR50 and CR60 change is smaller than value (N) before the
change, it is necessary to restart the timer after changing CR50 and CR60.
Figure 6-20. Timing after Compare Register Change during Timer Count Operation
Count Pulse
CR50, CR60
N
M
TM5, TM6 Count Value
X-1
X
FFH
00H
01H
02H
Remark N > X > M
101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents