![Freescale Semiconductor ColdFire MCF5211 Reference Manual Download Page 309](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619309.webp)
DMA Timers (DTIM0–DTIM3)
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
Freescale Semiconductor
19-5
19.2.3
DMA Timer Event Registers (DTER
n
)
DTER
n
, shown in
, reports capture or reference events by setting DTER
n
[CAP] or
DTER
n
[REF]. This reporting happens regardless of the corresponding DMA request or interrupt enable
values, DTXMR
n
[DMAEN] and DTMR
n
[ORRI,CE].
Writing a 1 to DTER
n
[REF] or DTER
n
[CAP] clears it (writing a 0 does not affect bit value); both bits can
be cleared at the same time. If configured to generate an interrupt request, REF and CAP bits should be
cleared early in the interrupt service routine so the timer module can negate the interrupt request signal to
the interrupt controller. If configured to generate a DMA request, processing of the DMA data transfer
automatically clears the REF and CAP flags via the internal DMA ACK signal.
Table 19-3. DTXMR
n
Field Descriptions
Field
Description
7
DMAEN
DMA request. Enables DMA request output on counter reference match or capture edge event.
0 DMA request disabled
1 DMA request enabled
–1
Reserved, must be cleared.
0
MODE16
Selects the increment mode for the timer. MODE16 equals 1 is intended to exercise the upper bits of the 32-bit timer
in diagnostic software without requiring the timer to count through its entire dynamic range. When set, the counter’s
upper 16 bits mirror its lower 16 bits. All 32 bits of the counter remain compared to the reference value.
0 Increment timer by 1
1 Increment timer by 65,537
IPSBAR
Offset:
0x
04
03 (DTER0)
0x
044
3 (DTER1)
0x
048
3 (DTER2)
0x
04C
3 (DTER3)
Access: User read/write
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
REF
CAP
W
w1c
w1c
Reset:
0
0
0
0
0
0
0
0
Figure 19-4. DTER
n
Registers