![Motorola DSP56303 Скачать руководство пользователя страница 218](http://html.mh-extra.com/html/motorola/dsp56303/dsp56303_user-manual_246564218.webp)
Operating Modes
9
-6
DSP56303 User’s Manual
9.3.1
Triple Timer Modes
For all triple timer modes, the following points are true:
n
The TCSR[TE] bit is set to clear the counter and enable the timer. Clearing TCSR[TE]
disables the timer.
n
The value to which the timer is to count is loaded into the TCPR. (This is true for all
modes except the measurement modes (modes 4 through 6).
n
The counter is loaded with the TLR value on the first clock.
n
If the counter overflows, TCSR[TOF] is set, and if TCSR[TOIE] is set, an overflow
interrupt is generated.
n
You can read the counter contents at any time from the Timer Count Register (TCR).
9.3.1.1 Timer GPIO (Mode 0)
In Mode 0, the timer generates an internal interrupt when a counter value is reached, if the
timer compare interrupt is enabled (see Figure 9-3 and Figure 9-4). When the counter equals
the TCPR value, TCSR[TCF] is set and a compare interrupt is generated if the TCSR[TCIE]
bit is set. If the TCSR[TRM] bit is set, the counter is reloaded with the TLR value at the next
timer clock and the count is resumed. If TCSR[TRM] is cleared, the counter continues to
increment on each timer clock signal. This process repeats until the timer is disabled.
Bit Settings
Mode Characteristics
TC3
TC2
TC1
TC0
Mode
Name
Function
TIO
Clock
0
0
0
0
0
GPIO
Timer
GPIO
Internal
Содержание DSP56303
Страница 1: ...DSP56303 User s Manual 24 Bit Digital Signal Processor DSP56303UM AD Revision 1 January 2001 ...
Страница 52: ...JTAG OnCE Interface 2 22 DSP56303 User s Manual ...
Страница 114: ...General Purpose Input Output GPIO 5 10 DSP56303 User s Manual ...
Страница 212: ...GPIO Signals and Registers 8 26 DSP56303 User s Manual ...
Страница 268: ...Interrupt Equates A 22 DSP56303 User s Manual ...
Страница 306: ...Programming Sheets B 38 DSP56303 User s Manual ...
Страница 320: ...Index 14 DSP56303 User s Manual ...