Aborting A Dma Transfer - Hitachi H8/3048 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

8.4.12 Aborting a DMA Transfer

www.DataSheet4U.com
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.
DMA transfer abort
Set DTCR
DMA transfer aborted
Figure 8-22 Procedure for Aborting a DMA Transfer
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.
1
234

Advertisement

Table of Contents
loading

Table of Contents