(5) Incrementation Caused by Changing of Internal Clock Source: When an internal clock
source is changed, the changeover may cause the timer counter to increment. This depends on the
time at which the clock select bits (CKS1, CKS0) are rewritten, as shown in table 7-5.
The pulse that increments the timer counter is generated at the falling edge of the internal clock
source signal. If clock sources are changed when the old source is High and the new source is Low,
as in case No. 3 in table 7-5, the changeover generates a falling edge that triggers the TCNT clock
pulse and increments the timer counter.
Switching between an internal and external clock source can also cause the timer counter to
increment.
Table 7-5. Effect of Changing Internal Clock Sources
Notes: *1 Including a transition from Low to the stopped state (CKS1 = 0, CKS0 = 0), or a
transition from the stopped state to Low.
*2 Including a transition from the stopped state to High.
No.
Description
Timing chart
Low
→
Low
*1
:
Clock select bits are
1
rewritten while both
clock sources are Low.
Low
→
High
*2
:
Clock select bits are
2
rewritten while old
clock source is Low and
new clock source is High.
N + 1
N
Old clock
source
New clock
source
TCNT clock
pulse
TCNT
CKS rewrite
N + 1
N
Old clock
source
New clock
source
TCNT clock
pulse
TCNT
CKS rewrite
N + 2
161
Summary of Contents for H8/326 Series
Page 67: ...58 ...
Page 121: ...112 ...
Page 274: ... 3 Clock Settling Timing Ø VCC RES STBY tOSC1 tOSC1 Figure 14 8 Clock Setting Timing 265 ...
Page 279: ...270 ...