8.4.12 Aborting a DMA Transfer
When the DTE bit in an active channel is cleared to 0, the DMAC halts after transferring the
current byte or word. The DMAC starts again when the DTE bit is set to 1. In full address mode,
the DTME bit can be used for the same purpose. Figure 8-22 shows the procedure for aborting a
DMA transfer by software.
Figure 8-22 Procedure for Aborting a DMA Transfer
DMA transfer abort
Set DTCR
DMA transfer aborted
1
1. Clear the DTE bit to 0 in DTCR.
To avoid generating an interrupt when
aborting a DMA transfer, clear the DTIE
bit to 0 simultaneously.
234
www.DataSheet4U.com