Downloaded from
Elcodis.com
electronic components distributor
10.4 Interrupts
During interval timer operation, an overflow generates an interval timer interrupt (WOVI). The
interval timer interrupt is requested whenever the OVF bit is set to 1 in TCSR.
10.5 Usage Notes
Contention between TCNT Write and Increment: If a timer counter clock pulse is generated
during the T
state of a write cycle to TCNT, the write takes priority and the timer count is not
3
incremented. See figure 10-8.
ø
TCNT
Internal write
signal
TCNT input
clock
TCNT
Figure 10-8 Contention between TCNT Write and Increment
Changing CKS2 to CKS0 Values: Halt TCNT by clearing the TME bit to 0 in TCSR before
changing the values of bits CKS2 to CKS0.
Write cycle: CPU writes to TCNT
T
T
T
1
2
3
N
309
M
Counter write data