DMA Timers (DTIM0–DTIM3)
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
21-5
Preliminary
21.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 21-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
6
HALTED
Controls the counter when the core is halted. This allows debug mode to be entered without timer interrupts affecting
the debug flow.
0 Timer function is not affected by core halt.
1 Timer stops counting while the core is halted.
Note:
This bit is only applicable in reference compare mode, see
Section 21.3.3, “Reference Compare.”
5–1
Reserved, must be cleared.
0
MODE16
Selects the increment mode for the timer. Setting MODE16 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
00_04
03 (DTER0)
0x
00_044
3 (DTER1)
0x
00_048
3 (DTER2)
0x
00_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 21-4. DTER
n
Registers