![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 306](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619306.webp)
DMA Timers (DTIM0–DTIM3)
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
19-2
Freescale Semiconductor
is a block diagram of one of the four identical timer modules.
Figure 19-1. DMA Timer Block Diagram
19.1.2
Features
Each DMA timer module has:
•
Maximum timeout period of 266,521 seconds at 66 MHz (~74 hours)
•
15-ns resolution at 66 MHz
•
Programmable sources for the clock input, including external clock
•
Programmable prescaler
•
Input-capture capability with programmable trigger edge on input pin
•
Programmable mode for the output pin on reference compare
•
Free run and restart modes
•
Programmable interrupt or DMA request on input capture or reference-compare
19.2
Memory Map/Register Definition
The timer module registers, shown in
, can be modified at any time.
DMA Timer
Divider
DMA Timer Mode Register (DTMR
n
)
Prescaler
Mode Bits
DMA Timer Counter Register (DTCN
n
)
31
0
DMA Timer Reference Register (DTRR
n
)
31
0
DMA Timer Capture Register (DTCR
n
)
31
0
DMA Timer Event Register (DTER
n
)
Capture
Detection
clock
(contains incrementing value)
(reference value for comparison with DTCN)
(indicates capture or when DTCN = DTRR
n
)
To Interrupt
Clock
Generator
DMA Timer Extended Mode
Register (DTXMR
n
)
DMA Request
0
0
15
7
7
0
controller
Internal Bus Clock
(÷1 or ÷16
)
DMA Timer
Internal Bus to/from DMA Timer Registers
(latches DTCN value when triggered by
DT
n
IN
)
DT
n
OUT