Forced Termination Of Dmac Operation; Clearing Full Address Mode; Figure 7.24 Example Of Procedure For Forcibly Terminating Dmac Operation - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

7.4.13

Forced Termination of DMAC Operation

If the DTE bit for the channel currently operating is cleared to 0, the DMAC stops on completion
of the 1-byte or 1-word transfer in progress. DMAC operation resumes when the DTE bit is set to
1 again. In full address mode, the same applies to the DTME bit. Figure 7.24 shows the procedure
for forcibly terminating DMAC operation by software.
Forced termination
of DMAC
Clear DTE bit to 0
Forced termination

Figure 7.24 Example of Procedure for Forcibly Terminating DMAC Operation

7.4.14

Clearing Full Address Mode

Figure 7.25 shows the procedure for releasing and initializing a channel designated for full address
mode. After full address mode has been cleared, the channel can be set to another transfer mode
using the appropriate setting procedure.
[1] Clear the DTE bit in DMABCRL to 0.
If you want to prevent interrupt generation after
forced termination of DMAC operation, clear the
DTIE bit to 0 at the same time.
[1]
Rev. 3.0, 10/02, page 189 of 686

Advertisement

Table of Contents
loading

Table of Contents