Individual Timer Block Diagram - Freescale Semiconductor DSP56311 User Manual

24-bit digital signal processor (dsp)
Hide thumbs Also See for DSP56311:
Table of Contents

Advertisement

Triple Timer Module
GDB
24
Timer Prescaler
Load Register
CLK/2

9.1.2 Individual Timer Block Diagram

Figure 9-2 shows the structure of an individual timer block. The DSP56311 treats each timer as a
memory-mapped peripheral with four registers occupying four 24-bit words in the X data
memory space. The three timers are identical in structure and function. Either standard polled or
interrupt programming techniques can be used to service the timers. A single, generic timer is
discussed in this chapter. Each timer includes the following:
24-bit counter
24-bit read/write Timer Control and Status Register (TCSR)
24-bit read-only Timer Count Register (TCR)
24-bit write-only Timer Load Register (TLR)
24-bit read/write Timer Compare Register (TCPR)
Logic for clock selection and interrupt/DMA trigger generation.
The timer mode is controlled by the TC[3–0] bits which are TCSR[7–4]. For a listing of the timer
modes and descriptions of their operations, see Section 9.3, Operating Modes, on page 9-5.
9-2
24
TPLR
TPCR
Timer Prescaler
Count Register
24-bit Counter
TIO0 TIO1 TIO2
Figure 9-1. Triple Timer Module Block Diagram
DSP56311 User's Manual, Rev. 2
24
Timer 0
Timer 1
Timer 2
24
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents