DMA Timers (DTIM0–DTIM3)
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
21-2
Freescale Semiconductor
Preliminary
is a block diagram of one of the four identical timer modules.
Figure 21-1. DMA Timer Block Diagram
21.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
•
Ability to stop the timer from counting when the ColdFire core is halted
21.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
DTIN
n)
DTOUT
n