9-16
DSP56309UM/D MOTOROLA
Triple Timer Module
Timer Operational Modes
9.3.6
Timer Compare Register (TCPR)
The TCPR is a 24-bit, read/write register that contains the value to be compared to the
counter value. These two values are compared every timer clock after the TE bit in the
TCSR is set. When the values match, the timer compare flag (TCF) bit is set and an
interrupt is generated if interrupts are enabled (if the timer compare interrupt enable
(TCIE) bit in the TCSR is set). The TCPR is ignored in measurement modes.
9.3.7
Timer Count Register (TCR)
The Timer Count Register (TCR) is a 24-bit, read-only register. In timer and watchdog
modes, the counterÕs contents can be read at any time by reading the TCR register. In
Measurement modes, the TCR is loaded with the current value of the counter on the
appropriate edge of the input signal, and its value can be read to determine the width,
period, or delay of the leading edge of the input signal. When the timer is in
measurement modes, the TIO signal is used for the input signal.
9.4
TIMER OPERATIONAL MODES
Each timer has these operational modes to meet a variety of system requirements:
¥ Timer
Ð GPIO, mode 0: Internal timer interrupt generated by the internal clock
Ð Pulse, mode 1: External timer pulse generated by the internal clock
Ð Toggle, mode 2: Output timing signal toggled by the internal clock
Ð Event counter, mode 3: Internal timer interrupt generated by an external clock
¥ Measurement
Ð Input width, mode 4: Input pulse width measurement
Ð Input pulse, mode 5: Input signal period measurement
Ð Capture, mode 6: Capture external signal
¥ PWM, mode 7: Pulse width modulation
¥ Watchdog
Ð Pulse, mode 9: Output pulse, internal clock
Содержание 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: ......