9-10
DSP56309UM/D MOTOROLA
Triple Timer Module
Triple Timer Module Programming Model
Clearing the TOIE bit disables overflow interrupt generation. The TOIE bit is cleared by
a hardware RESET signal or a software RESET instruction.
9.3.4.3
Timer Compare Interrupt Enable (TCIE) Bit 2
The TCIE bit is used to enable or disable the timer compare interrupts. Setting TCIE
enables the compare interrupts. In the timer, pulse width modulation (PWM), or
watchdog modes, a compare interrupt is generated after the counter value matches the
value of the TCPR. The counter starts counting up from the number loaded from the
TLR and if the TCPR value is N, an interrupt occurs after (N Ð M + 1) events, where M is
the value of TLR.
Clearing the TCIE bit disables the compare interrupts. The TCIE bit is cleared by a
hardware RESET signal or a software RESET instruction.
9.3.4.4
Timer Control (TC[3:0]) Bits 4-7
The four TC bits control the source of the timer clock, the behavior of the TIO signal, and
timer mode.
summarizes the TC bit functionality. There is a detailed
description of the timer operating modes in
Section 9.4ÑTimer Operational Modes
The TC bits are cleared by a hardware RESET signal or a software RESET instruction.
Note:
If the clock is external, the counter is incremented by the transitions on the
TIO signal. The external clock is internally synchronized to the internal clock,
and its frequency should be lower than the internal operating frequency
divided by 4 (CLK/4).
Note:
To insure proper operation, the TC[3:0] bits should be changed only when the
timer is disabled (i.e., when the TE bit in the TCSR has been cleared).
Table 9-2
Timer Control Bits
Bit Settings
Mode Characteristics
TC3
TC2
TC1
TC0
Mode
Number
Mode Function
TIO
Clock
0
0
0
0
0
Timer and GPIO
GPIO
1
Internal
0
0
0
1
1
Timer Pulse
Output
Internal
0
0
1
0
2
Timer Toggle
Output
Internal
0
0
1
1
3
Event Counter
Input
External
Содержание DSP56309
Страница 25: ...xxii DSP56309UM D MOTOROLA Figure D 25 Port E Registers PCRE PRRE PDRE D 39 ...
Страница 30: ...MOTOROLA DSP56309UM D 1 1 SECTION 1 DSP56309 OVERVIEW ...
Страница 47: ...1 18 DSP56309UM D MOTOROLA DSP56309 Overview DSP56309 Architecture Overview ...
Страница 48: ...MOTOROLA DSP56309UM D 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Страница 85: ...2 38 DSP56309UM D MOTOROLA Signal Connection Descriptions OnCE JTAG Interface ...
Страница 86: ...MOTOROLA DSP56309UM D 3 1 SECTION 3 MEMORY CONFIGURATION ...
Страница 104: ...MOTOROLA DSP56309UM D 4 1 SECTION 4 CORE CONFIGURATION ...
Страница 124: ...MOTOROLA DSP56309UM D 5 1 SECTION 5 GENERAL PURPOSE I O ...
Страница 125: ...5 2 DSP56309UM D MOTOROLA General Purpose I O 5 1 INTRODUCTION 5 3 5 2 PROGRAMMING MODEL 5 3 ...
Страница 128: ...MOTOROLA DSP56309UM D 6 1 SECTION 6 HOST INTERFACE HI08 ...
Страница 166: ...MOTOROLA DSP56309UM D 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Страница 212: ...MOTOROLA DSP56309UM D 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Страница 241: ...8 30 DSP56309UM D MOTOROLA Serial Communication Interface SCI GPIO Signals and Registers ...
Страница 242: ...MOTOROLA DSP56309UM D 9 1 SECTION 9 TRIPLE TIMER MODULE ...
Страница 269: ...9 28 DSP56309UM D MOTOROLA Triple Timer Module Timer Operational Modes ...
Страница 270: ...MOTOROLA DSP56309UM D 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Страница 302: ...MOTOROLA DSP56309UM D 11 1 SECTION 11 JTAG PORT ...
Страница 369: ...C 22 DSP56309UM D MOTOROLA DSP56309 BSDL Listing ...
Страница 370: ...MOTOROLA DSP56309UM D D 1 APPENDIX D PROGRAMMING REFERENCE ...
Страница 405: ......
Страница 409: ......