MOTOROLA
35
In Timer Modes 4 and 5, however, the TCR will be loaded with the current value of the
counter on the appropriate edge of the TIO input signal (rather than with a value specified
by the user program). The value loaded to the TCR represents the width or the period of
the signal coming in on the TIO pin, depending on the timer mode. See Sections 6.4.4 and
6.4.5 for detailed descriptions of Timer Modes 4 and 5.
6.4
TIMER MODES OF OPERATION
This section gives the details of each of the timer modes of operation. Table 2 on page 33
summarizes the items which determine the timer mode, including the configuration of the
timer control bits, the function of the TIO pin, and the clock source.
6.4.1
Timer Mode 0 (Standard Timer Mode, Internal Clock, No Timer Output)
Timer Mode 0 is defined by TCSR bits TC2-TC0 equal to 000.
With the timer enabled (TE=1), the counter is loaded with the value contained by the TCR.
The counter is decremented by a clock derived from the internal DSP clock, divided by
two (CLK/2). During the clock cycle following the point where the counter reaches 0, the
TS bit is set and the timer generates an interrupt. The counter is reloaded with the value
contained by the TCR, and the entire process is repeated until the timer is disabled
(TE=0). Figure 9 illustrates Mode 0 with the timer enabled. Figure 10 illustrates the events
with the timer disabled.
Figure 9 - Standard Timer Mode (Mode 0)
TE
TCR
write to
N
Counter
N
0
N
TS
first event
last event
N-1
Clock
Interrupt
TCR (N)
(CLK/2)
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......