OPERATING CONSIDERATIONS
7 - 16
DSP56002 TIMER AND EVENT COUNTER
MOTOROLA
that occur while in STOP will be ignored.
7.7
OPERATING CONSIDERATIONS
The value 0 for the Timer Count Register (TCR) is considered a boundary case and af-
fects the behavior of the timer under the following conditions:
•
If the TCR is loaded with 0, and the counter contained a non-zero value before the
TCR was loaded, then after the timer is enabled, it will count 2
24
events, generate an
interrupt, and then generate an interrupt for every new event.
TE
TCR
Periodic Event (First Event)
Clock
N
Counter
N
N+1
N+2
Interrupt
TIO
Periodic Event
M-1
M
M
M+1
M+2
N + 1
Figure 7-11 Period Measurement Mode (INV=1)
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..